How to make Apache not show directory listings ?

Moderator: Lixas

Post Reply
EnacheVladian
Posts: 87
Joined: Wed Mar 22, 2006 4:54 pm

How to make Apache not show directory listings ?

Post by EnacheVladian »

If i dont have a index.* in a directory my apache server (test at hhome :D) list the directory content and i dont want this. How can i prevent it ? Thanks


kaos_frack
Posts: 504
Joined: Sat May 07, 2005 8:03 am
Contact:

Post by kaos_frack »

why would you want to do that?
if you have very secret info/file you better password protect the directory
cos preventing from listing files does not prevent from downloading
EnacheVladian
Posts: 87
Joined: Wed Mar 22, 2006 4:54 pm

Post by EnacheVladian »

youre right, i will prevent the downloads

sometimes i dont want users to accidentaly acces parts of my site
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

Image
EnacheVladian
Posts: 87
Joined: Wed Mar 22, 2006 4:54 pm

Post by EnacheVladian »

thanks, thats a must read for someone who plays with apache at home, a amateure like me :D
winnerz
Posts: 21
Joined: Fri May 05, 2006 11:34 am

htaccess Generator Software For Apache

Post by winnerz »

Hello Buddy,

Download 100% free htaccess Generator Software For Apache:


http://www.tlhouse.co.uk/htac1000.exe

Good Luck :)
rwshthn
Posts: 500
Joined: Tue Sep 26, 2006 1:39 am
Contact:

why man

Post by rwshthn »

why you want to do this
why would you want to do that?
if you have very secret info/file you better password protect the directory
cos preventing from listing files does not prevent from downloading
and i want to be afrind
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

sometimes developers whants to hide directory content (there is no need to password protect, just hide)
For example me, i'm creating CMS and i'm hidding some folders for security reasons (less possibilities to crack down my cms) :)
I guess he is doing it just for security, for privacy :) i hope you get it
Image
rwshthn
Posts: 500
Joined: Tue Sep 26, 2006 1:39 am
Contact:

hi

Post by rwshthn »

all i know there was some thing its name is scret key
you can make it in your email
Post Reply