Linux Administrator - Directory browsing in apache

Linux Administrator

Privacy Policy

RSS Feed

Acoustic Guitar Tips
Anna Kendrick
Beekeeping Tips
Catherine Zeta Jones
My View On Things
Cheap Auto Insurance
Cheap Places to Live
Delta Shaper
Easy Wood Projects
Felicity Jones
Free Sheet Music
Funny Clean Jokes
Healthy Carbs
Heidi Klum
Improve Your Credit
Ivory Tower Group
Keke Palmer
Linda Ronstadt
Linux Administrator
Money Spigot
Nicole Kidman
Planet Cabinet
Quality Dating Advice
Rustic Cabinets
Sacramento Hiking
Sandra Bullock
Spintax Tool
The Actress
Tristan Prettyman
Viola Davis
Who Are The Beatles

Directory browsing in apache

Directory browsing in apache

If you have a directory of images or some other collection of files, and you don't want to spend the time creating an index.html file to make them all viewable, try adding this line to the .htaccess file where you want directory browsing to be applicable:

Options Indexes

Also, if the directory is already viewable, but you don't want people to see the contents, just put an empty index.html file in the directory. That will prevent people from getting a listing of the directory.

Return To Main Page