Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] Re: still see .htaccess and .htpasswd trough virtual host

Jonesy

2010-07-09

Replies: Find Java Web Hosting

Author LoginPost Reply
On Fri, 9 Jul 2010 08:14:44 +0530, J. Bakshi wrote:
>
> any clue please ?
>
>> #
>> # The following lines prevent .htaccess and .htpasswd files from being
>> # viewed by Web clients.
>> #
>> <Files ~ "^\.ht">
>>   Order allow,deny
>>   Deny from all
>> </Files>

FWIW I'm using:
        :
        |<FilesMatch "^\.ht">
        |   Order allow,deny
        |   Deny from all
        |   Satisfy All
        |</FilesMatch>
        :
_after_ all other <Files ...> directives. WFM

HTH
Jonesy
--
Marvin L Jones   | jonz       | W3DHJ | linux
 38.24N 104.55W | @ config.com | Jonesy | OS/2
  * Killfiling google & XXXXbanter.com: jonz.net/ng.htm


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.