Forum Moderators: phranque

Message Too Old, No Replies

httpd.conf's modification

Using the DirectoryMatch tag in httpd.conf file

         

ApacheFan

10:46 am on Jun 5, 2006 (gmt 0)



Hi Friends,

Can anyone please send me the complete DirectoryMatch directive that i must include in the httpd.conf file to prevent visitors to my website from viewing any file in a folder beginning an underscore, i'd also like to extend this restriction to the folder MMWIP.

coopster

3:16 pm on Jun 5, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, ApacheFan.

You mean you don't want them to see those files when you have an automatic index generation [httpd.apache.org]? If so, why not use an IndexIgnore [localhost] configuration directive?