doc root variable

Status
Not open for further replies.

Domenico

Member
Messages
117
Reaction score
0
Points
16
Hello,

With the recent modifications to the server configuration, the php global variable $_SERVER['DOCUMENT_ROOT'] is now set to usr/local/apache/htdocs instead of the user's home directory (/home/*username*/public_html/). Since I use this variable a lot in my site, the site is no longer working correctly (see http://s4.x10hosting.com). I did some research and it seems that several people have been affected by this problem (see http://www.google.ca/search?&q=site:x10hosting.com/forums+%22usr/local/apache/htdocs%22).

I was wondering if the DOCUMENT_ROOT variable is going to be reset to its previous value when you are finished with your updates and such, or if I should go ahead and recode the affected portions of my site.

Thank you,
Domenico
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Hello, i have notified Corey of this error.

This issue should be resolved as far as i am aware soon. If i here any bad news back i'll let you know.
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
I believe this is fixed, please let us know.
 

dlukin

New Member
Messages
427
Reaction score
25
Points
0
DOCUMENT_ROOT = /usr/local/apache/htdocs

using Perl on Boru.
 
Status
Not open for further replies.
Top