httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Bakshi" <joyd...@infoservices.in>
Subject [users@httpd] Re: [SOLVED ] [users@httpd] Re: still see .htaccess and .htpasswd trough virtual host
Date Mon, 12 Jul 2010 04:01:00 GMT
On Fri, 9 Jul 2010 21:53:43 +0000 (UTC)
Jonesy <gmane@jonz.net> wrote:

> 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

Hello Jonesy,

your response have a clue and I have applied it, now everything is ok :-) I have placed the
default config 

``````````````
<Files ~ "^\.ht">
 Order allow,deny
 Deny from all
</Files>
``````````````````````

at the very end of httpd.conf and now it is working well, even yours is also working only
at the very end of the config. So I have learned that this config needs to be placed at the
very end.

Thanks to all of you, have a nice time.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message