Forum Moderators: phranque

Message Too Old, No Replies

Setting up directory indexes.

Index not showing.

         

mack

2:37 am on Sep 13, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I have added the following to my httpd.conf
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3
</IfModule>

However it is not working as desired. If a user was to visit example.com/directory they would receive a 404. If however they where to visit example.com/directory/ they would view the index file for the directory.

How can I configure apache to display an index file without the need for a trailing slash "/".

Mack.

jdMorgan

5:57 am on Sep 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



mod_dir should take care of this automatically. Is it loaded?

Also, having UseCanonicalName on may mess this up.

Jim