Apache Localhost causing strange error second time around
Hi all, I'm hoping someone can help me with this situation (i'm using apache 2.2).
I initially setup DocumentRoot (within httpd.conf) to point to another directory.
for example:
DocumentRoot "C:\Documents and Settings\forrest\My Documents\JesterWebster\public_html\college"
<Directory "C:\Documents and Settings\forrest\My Documents\JesterWebster\public_html\college">
Everything was working fine. Then I went ahead and changed my httpd.conf file to point to a different directory.
for example:
DocumentRoot "C:\Documents and Settings\forrest\My Documents\JesterWebster\public_html\sports"
<Directory "C:\Documents and Settings\forrest\My Documents\JesterWebster\public_html\sports">
When I restart Apache it's attempting to point to the wrong location. For example, my error log shows:
[Fri Sep 21 10:40:02 2007] [error] [client 127.0.0.1] File does not exist: C:/Documents and Settings/forrest/My Documents/JesterWebster/public_html/sports/clientside, referer: localhost
It's obvious why there is an error, because there is no 'clientside' directory. However, I have not typed that in anywhere, so I'm unsure where it is coming from. I do know that I have a clientside directory located at:
"C:\Documents and Settings\forrest\My Documents\JesterWebster\public_html\college\client side"
The strange thing is that it still is loading a page, but its loading:
C:\Documents and Settings\forrest\My Documents\JesterWebster\public_html\college\index. php
It should be loading:
C:\Documents and Settings\forrest\My Documents\JesterWebster\public_html\sports\index.p hp
However, there should be no reference to that location at all. any help would be appreciated.
Thanks,
Jesse
Last edited by forrestfsu; 2007-09-28 at 12:52 AM.
|