OK I just set up a new server and I have a few sites running on it.
all but one are ok..
One receives the incorrect path for $_SERVER['DOCUMENT_ROOT']
while the others get the correct path.
Can anyone plase tell me why this might happen, and how I can set it correctly???
Thanks
problem with $_SERVER['DOCUMENT_ROOT']
OK.. I found the issue.
seems to be in the in httpd.conf
the DocumentRoot setting for http://www.site1.com is set correctly
for the site to run, but the DocumentRoot setting for main.site1.com is set
differently and seems to be over ruling the other.
I don't know if I should change the DocumentRoot setting for
main.site1.com since it is the main server domain?
Anyone else know???
seems to be in the in httpd.conf
the DocumentRoot setting for http://www.site1.com is set correctly
for the site to run, but the DocumentRoot setting for main.site1.com is set
differently and seems to be over ruling the other.
I don't know if I should change the DocumentRoot setting for
main.site1.com since it is the main server domain?
Anyone else know???
======
DX
======
DX
======