access to directories

mostafa568

Joined: 2011-07-13
Posts: 11
Posted: Thu, 2011-07-14 14:06

When you write URL as smae as [ www.kamalgivian.com/var ]
Web browser will show all directories.(it is not safe enough)
I want web browser to show [ access denied ]

 
inposure
inposure's picture

Joined: 2010-04-23
Posts: 304
Posted: Thu, 2011-07-14 14:22

In your apache config or in .htaccess:

Options -Indexes

--
http://inposure.se/

 
mostafa568

Joined: 2011-07-13
Posts: 11
Posted: Thu, 2011-07-14 21:00

thanke u