I've got a directory on my site set up so it's password protected and shows the directory listing. I want to set it up so that you can't see the "Parent folder" link, or any of the other folders inside, but so that you CAN see files.
Here's how I've got it set up now
It's working well in regards to getting rid of the folders, but the */* is removing all files. How do I go about setting it up so that I can view the files?
Here's how I've got it set up now
Code:
Options All +Indexes
IndexIgnore .htaccess */*
AuthName "Quickbooks Area"
AuthType Basic
AuthUserFile "/no/way/in/hell/GAF/sorry/.htpasswd"
require valid-user
It's working well in regards to getting rid of the folders, but the */* is removing all files. How do I go about setting it up so that I can view the files?