Root Path: Shared Hosting (Hosteurope)
Root Path: Shared Hosting (Hosteurope)
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
Point your 2nd Domain to the folder of it via confixx. (2nd domain folder) and set up the paths like
"phpwcms" for $phpwcms["root"]
"http://www.seconddomain.de/" as $phpwcms["site"]
"phpwcms" for $phpwcms["root"]
"http://www.seconddomain.de/" as $phpwcms["site"]
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
No, at hosteurope confixx is the basic admin software...
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
KIS is ok - forget CONFIXX.
Now place the phpwcms folder in the folder you pointed the domain to.
Set up
Now everything should work.
Now place the phpwcms folder in the folder you pointed the domain to.
Set up
Code: Select all
// site values
$phpwcms["site"] = "http://www.URL_of_the_2nd_Domain.de/";
...
$phpwcms["root"] = "phpwcms";
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
No, that's the way I had it before when it didn't work. I solved the problem by adding
to my conf.inc.php. ("12345" has to be replaced with Hosteurope customer ID).
Hope this will help other Hosteuropers.
Code: Select all
$_SERVER['DOCUMENT_ROOT'] = '/is/htdocs/12345/www.firstdomain.de/domains/seconddomain';
Hope this will help other Hosteuropers.
ok. i think i didn't work because of
hauptsache funzt...
So the problem is: $_SERVER["DOCUMENT_ROOT"] on my seconddomain gives back "/blabla/.../firstdomain" without "/domains/seconddomain".
hauptsache funzt...
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------