kipbenson4 Posted August 11, 2003 Share Posted August 11, 2003 I looked through the Apache forum before asking this, but I didn\'t find anything relevant. It\'s similar, but not quite the same as the DirectoryIndex directive problem, I think. I have direcories in my htdocs, so I want to be able to access them in the following ways: http://myserver/sandbox/ (1) http://myserver/sandbox (2) (1) works like a champ, going to whatever I\'ve specified in DirectoryIndex, but (2) gives a browser error--NOT from Apache. What can I do to auto-insert the backslash so apache doesn\'t think it\'s trying to access a file? Thanks! Kip Link to comment https://forums.phpfreaks.com/topic/875-backslash-always-required-for-url-file-access/ Share on other sites More sharing options...
Quintin Riis Posted August 21, 2003 Share Posted August 21, 2003 http://myserver/sandbox/ (1) http://myserver/sandbox (2) The first one is a <b>directory</b>. The second is a <b>FILE</b> You need to have a FQDN with DNS for Apache to guess that /blah should redirect to /blah/. Do you have a domain name associated with your webserver? Link to comment https://forums.phpfreaks.com/topic/875-backslash-always-required-for-url-file-access/#findComment-3080 Share on other sites More sharing options...
kipbenson4 Posted August 21, 2003 Author Share Posted August 21, 2003 Sorry for not following up on this after I figured it out. In the httpd.conf file: UseCanonicalName Off That seemed to do the trick! Kip Link to comment https://forums.phpfreaks.com/topic/875-backslash-always-required-for-url-file-access/#findComment-3093 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.