htaccess and deny dir listing

From: Date: Fri, 15 Sep 2000 00:52:33 +0000
Subject: htaccess and deny dir listing
Groups: php.general 
Request: Send a blank email to php-general+get-16874@lists.php.net to get a copy of this message
Hi all, I am using .htaccess file in the root dir of my site and would like to stop people from view the contents of specified directories. For example I would like to deny viewing the contents of a /includes dir or a /styles directory. I don't want to use password authentication. Is this possible using .htaccess? If so, can I please have the syntax? Please note that I would prefer to have one .htaccess file in the root dir than multiple .htaccess files throughout the site... Regards, Matthew Delmarter Web Developer AdplusOnline.com Ltd www.adplusonline.com Phone: 06 8357684 Cell: 025 2303630

« previous php.general (#16874) next »