- Code, Content, and Presentation
-- Apache Web Server
---- htaccess instead of listing files - show 404 page?
- 9:47 pm on Feb 22, 2012
Putting an index file in your folder blocks a directory listing.
So does a single-line htaccess file:
... except that you don't need to, because that's already your default isn't it?
Options All -Indexes
is likely to be a big, big mistake:
Mixing Options with a + or - with those without is not valid syntax, and is likely to cause unexpected results.
When Apache docs put up a warning, pay attention. The "unexpected results" is a euphemism for "disastrously unwanted results" ;)
Brought to you by