Jump to content

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

  • 2 weeks later...

 

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.