Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:08 am EST
Geeklog Forums
Paths: Multiple Geeklog installs on same server
Hi,
I have geeklog as my main site on my webserver, but I have several other users on my server who want to use it as well. I've got seperate databases and usernames for them, but I'm having problems with the paths.
I'm running this on a Novell Apache server, so the path for my main site config.php would be
sys:/Apache/htdocs/
Htdocs is not public, the path to the HTML/lib-common.php is
sys:/Apache/htdocs/web/
Web is my public directory, obviously. A standard user URL would be
http://www.mydomain.com/group/USERNAME
and a standard path to their html would be
sys:/Apache/htdocs/web/group/USERNAME
I want to keep all their config.php files outside my public WEB folder, so the path for config.php would then be
sys:/apache/htdocs/USERNAME/
The problem I'm having is when I try to specify that config.php is in sys:/apache/htdocs/USERNAME, the install tries to locate the public_html folder as sys:/Apache/htdocs/sys:/Apache/htdocs/web/group/USERNAME
Can I set up Geeklog this way, or should I just secure their USERNAME folder and place their config.php in it and then have a subfolder for their public_html?
Any help would be greatly appreciated.
Thanks!
I have geeklog as my main site on my webserver, but I have several other users on my server who want to use it as well. I've got seperate databases and usernames for them, but I'm having problems with the paths.
I'm running this on a Novell Apache server, so the path for my main site config.php would be
sys:/Apache/htdocs/
Htdocs is not public, the path to the HTML/lib-common.php is
sys:/Apache/htdocs/web/
Web is my public directory, obviously. A standard user URL would be
http://www.mydomain.com/group/USERNAME
and a standard path to their html would be
sys:/Apache/htdocs/web/group/USERNAME
I want to keep all their config.php files outside my public WEB folder, so the path for config.php would then be
sys:/apache/htdocs/USERNAME/
The problem I'm having is when I try to specify that config.php is in sys:/apache/htdocs/USERNAME, the install tries to locate the public_html folder as sys:/Apache/htdocs/sys:/Apache/htdocs/web/group/USERNAME
Can I set up Geeklog this way, or should I just secure their USERNAME folder and place their config.php in it and then have a subfolder for their public_html?
Any help would be greatly appreciated.
Thanks!
13
13
Quote
Status: offline
xardoz
Forum User
Regular Poster
Registered: 02/24/04
Posts: 98
Quote by Turias: It looks like it's a simple problem with your $_CONF['path_html']
Make sure it looks like:
$_CONF['path_html'] = 'sys:/Apache/htdocs/web/group/USERNAME/';
Make sure it looks like:
$_CONF['path_html'] = 'sys:/Apache/htdocs/web/group/USERNAME/';
Did that, and the error I'm getting during installation is:
Template Error: set_root: sys:/Apache/htdocs/USERNAME/sys:/Apache/htdocs/web/GROUP/USERNAME/layout/XSilver is not a directory.
Halted.
14
19
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
I can almost guarantee you that that is not your path_html. Geeklog is saying that your path_html is sys:/Apache/htdocs/USERNAME/sys:/Apache/htdocs/web/GROUP/USERNAME/
It looks like you are setting your path_html to $_CONF['path'] . 'sys:/Apache/htdocs/web/GROUP/USERNAME/'
It looks like you are setting your path_html to $_CONF['path'] . 'sys:/Apache/htdocs/web/GROUP/USERNAME/'
10
11
Quote
Status: offline
xardoz
Forum User
Regular Poster
Registered: 02/24/04
Posts: 98
Quote by Turias: I can almost guarantee you that that is not your path_html. Geeklog is saying that your path_html is sys:/Apache/htdocs/USERNAME/sys:/Apache/htdocs/web/GROUP/USERNAME/
It looks like you are setting your path_html to $_CONF['path'] . 'sys:/Apache/htdocs/web/GROUP/USERNAME/'
It looks like you are setting your path_html to $_CONF['path'] . 'sys:/Apache/htdocs/web/GROUP/USERNAME/'
Do'h!
Forgot to pull hte $_CONF['path']
Thanks!
18
20
Quote
All times are EST. The time is now 09:08 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content