[thelist] .htaccess

Keith Davis cache at dowebs.com
Sun Jun 3 11:19:53 CDT 2001


deke wrote:
> 
> On 2 Jun 2001, at 14:50, Jakob Dölling posted a message which said:
> 
> > > <files ~ "*\.txt">
> > > Order allow,deny
> > > Deny from all
> > > </files>
> 
> > That's new to me. Do I need to put it in my httpd.conf or will be enough in
> > the .htaccess in my web root?
> 
> For most sites, putting it in your .htaccess will work just fine.
> 

For most purposes putting it in your .htaccess will work like you want
it to. If you put that snippet in your httpd.conf it will make ALL .txt
files on your web server inaccessible. (probably not what you have in
mind, and if you do probably you should change your mind?)

keith




More information about the thelist mailing list