Jump to content

Archived

This topic is now archived and is closed to further replies.

kipbenson4

Backslash always required for URL file access?

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.