Link to home
Start Free TrialLog in
Avatar of bugsuperstar37
bugsuperstar37

asked on

Directories failing to display

I am running Apache on RedHat 7.2 i386 platform.
I have directory Indexes turned off.
I have my DirectoryIdex set up correctly.
When I attempt to view my site I am immediately brought to the correct page.
However, once on the site if I try to get to a directory like:
http://mysite.com/directory
I get a 404 error.
But if I attempt to get to the directory by:
http://mysite.com/directory/
the default page for that directory displays.

Now say that another directory is password protected. If I attempt to get there by:
http://mysite.com/anotherdirectory
I am asked for the password, but no default page is displayed.

I want to be able to type in the directory without the trailing / and be brought to the directories default page. What is wrong with my configuration?

Thank you in advance,

Chris
ASKER CERTIFIED SOLUTION
Avatar of samri
samri
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
and your
   Options
directive for the appropriate directory/location contains
   Indexes
value too?