Root Path: Shared Hosting (Hosteurope)
Posted: Mon 22. Mar 2004, 00:57
I have some trouble getting the right root path for my installation on a multi-domain hosting webspace (provider: hosteurope). I've installed WCMS in the folder "phpwcms" on a domain "seconddomain" which is an alias-domain pointing to a subfolder on my first domain "firstdomain", e.g. "/domains/seconddomain".
So the problem is: $_SERVER["DOCUMENT_ROOT"] on my seconddomain gives back "/blabla/.../firstdomain" without "/domains/seconddomain".
So at the moment I can login via "http://www.seconddomain.de/phpwcms" using "phpwcms" for $phpwcms["root"] in my conf.inc.php, but get path errors when trying to edit my articles for example.
On the other hand, the path errors when editing disappear when I upload an updated conf.inc.php with "domains/seconddomain/phpwcms" as $phpwcms["root"], but with this configuration I cannot login anymore.
The problem obviously lies in handling the paths to my seconddomain - can anyone help me??
I use "http://www.seconddomain.de/" as $phpwcms["site"] - that's not the problem.
Installed version: RC2_2004-02-20
So the problem is: $_SERVER["DOCUMENT_ROOT"] on my seconddomain gives back "/blabla/.../firstdomain" without "/domains/seconddomain".
So at the moment I can login via "http://www.seconddomain.de/phpwcms" using "phpwcms" for $phpwcms["root"] in my conf.inc.php, but get path errors when trying to edit my articles for example.
On the other hand, the path errors when editing disappear when I upload an updated conf.inc.php with "domains/seconddomain/phpwcms" as $phpwcms["root"], but with this configuration I cannot login anymore.
The problem obviously lies in handling the paths to my seconddomain - can anyone help me??
I use "http://www.seconddomain.de/" as $phpwcms["site"] - that's not the problem.
Installed version: RC2_2004-02-20