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 Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.