
January 30th, 2003, 10:13 AM
|
|
Junior Member
|
|
Join Date: Jan 2003
Location: Norway
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Sticky DocumentRoot?
Hi,
I've run across a problem with my Apache configuration which completely baffles me. The boiled down version is this: I have two directories, c:\webs and d:\webs, with the exact same content. Now when I try to change the DocumentRoot and Directory directive in httpd.conf from "d:/webs" to "c:/webs", Apache keeps referring to "d:/webs".
The slightly longer version: I specify "d:/webs" as DocumentRoot, and my site loads with no problems. When I change this to "c:/webs", it still loads fine - until I change the name of d:\webs\index.php, upon which I get the response "No input file specified." (I have set the Options directive to 'None'. If I change it to 'Index', I see the contents of d:\webs). Funny thing is, if I specify "serverroot/htdocs" as DocumentRoot, it is served perfectly, proving that I can indeed change the DocumentRoot - just not to what I want.
I've built Apache/2.0.44 (Win32) mod_ssl/2.0.44 OpenSSL/0.9.7, and as you can see I'm running it on Windows (XP). For testing this out, though, I've reverted to a default httpd.conf file, with just the small tweaks to make it work with my setup (the global environment variables, enabled PHP).
I've done some research to figure this out for myself, but haven't been able to. Hence, I declare myself clueless. I put my faith in some of the members of this board being less ignorant than me.
Regards,
Sander Seeberg
|