View Single Post
Old 06-27-2006, 10:21 AM  
drjones
Confirmed User
 
Join Date: Oct 2005
Location: Charlotte, NC
Posts: 908
Also, if this is your server, and you have full access to it, you should really not use .htaccess at all, and disable it completely. Webmasters seem to love this file, but it really hurts performance. Anything you can put into an htaccess file you can put into your httpd.conf file instead. .htaccess really should only be used in shared hosting enviroments where you normally wouldnt have access to the httpd.conf.

<Directory /path/to/your/images>
Options -Indexes
</Directory>
__________________
ICQ: 284903372
drjones is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote