|
Posted by Mark Parnell on 08/23/05 02:22
Previously in alt.html, paul <P.Fredlein@NOSPAMuq.net.au> said:
> If I have a website with an 'images' folder then someone can navigate to the
> folder with their browser and automatically a file listing appears, how can
> I prevent that?
In the configuration on the server. If it's Apache, and you don't have
access to the main configuration file (usually httpd.conf), you may be
able to do it in your .htaccess file by adding the following line:
Options -Indexes
--
Mark Parnell
http://www.clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/
Navigation:
[Reply to this message]
|