Subject: Paths: Multiple Geeklog installs on same server

Posted on: 17/03/04 11:26am
By: xardoz

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!

Paths: Multiple Geeklog installs on same server

Posted on: 17/03/04 11:33am
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/';

Paths: Multiple Geeklog installs on same server

Posted on: 17/03/04 12:57pm
By: xardoz

[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/';[/QUOTE]

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.

Paths: Multiple Geeklog installs on same server

Posted on: 17/03/04 01:37pm
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/'

Paths: Multiple Geeklog installs on same server

Posted on: 17/03/04 03:47pm
By: xardoz

[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/'[/QUOTE]

Do'h!

Forgot to pull hte $_CONF['path']

Thanks!

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=32091