<quote who="Ben Babich">
> This may sound like a stupid question, but, do any of you out there know how
> to restrict access to an index but not the files in it via .htaccess for
> Apache?
.htaccess:
Options -Indexes
I often have a .htaccess file in my top level web directory, and have these
lines in it:
<FilesMatch images|admin|blah|dontlookhereyoupeskycracker>
Options -Indexes
</FilesMatch>
Tasty.
- Jeff
-- [EMAIL PROTECTED] ------------------------------- http://linux.conf.au/ --
"Free software never simply picks up its marbles and goes home." -
Jonathan Corbet, LWN
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug