You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Brendan M Wong <bo...@ucdavis.edu> on 2010/07/14 20:47:46 UTC
[users@httpd] weird apache behavior
Hi all. Our Apache (v2.0) is running on Windows Server 2003 and I'm running into some strange behavior that I can't figure out. I'm currently testing an Alias, and it only seems to work up to a certain point. In my httpd.conf, I've tested the following using the URL
http://blah.blah.com/cfide/administrator :
DocumentRoot "D:/MyStuff/webroot"
SUCCESS!
Alias /cfide/administrator "D:/" (goes to correct file located in D:/index.cfm)
SUCCESS!
Alias /cfide/administrator "D:/MyStuff" (goes to correct file located in D:/MyStuff/index.cfm)
SUCCESS!
Alias /cfide/administrator "D:/MyStuff/CFIDE" (goes to correct file located in D:/MyStuff/CFIDE/index.cfm)
FAIL!
Alias /cfide/administrator "D:/MyStuff/CFIDE/administrator" (goes to D:/MyStuff/webroot/CFIDE/administrator/index.cfm???)
It never tried looking under DocumentRoot in my first 3 tests so why would it start now? Is there a bug that prevents mapping an alias to a physical directory with the same name?
Thanks!
Brendan Wong
Web Developer
Office of Graduate Studies
530-754-9473
"Saving the world one pdf at a time"