httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Can't restrict file access
Date Fri, 04 Apr 2014 12:44:02 GMT
Maybe you have a <Location> covering the same space with other access
control? If you overlap directory/files with location, bad things
happen.

On Fri, Apr 4, 2014 at 8:38 AM, D'Arcy J.M. Cain <darcy@vex.net> wrote:
> I just noticed that files that should be blocked can easily be seen on
> my server.  I have the following code in my httpd.conf yes anyone can
> view my svn repository or read my .htaccess files.  I think that the
> first one was actually part of the sample config from Apache.  Can
> anyone see a problem?  I checked the web and found other ways to
> protect those files but none of them work either.
>
> <Files ~ "^\.ht">
>     Order allow,deny
>     Deny from all
>     Satisfy All
> </Files>
>
> <Files ~ "^\.svn">
>     Order allow,deny
>     Deny from all
>     Satisfy All
> </Files>
>
> --
> D'Arcy J.M. Cain
> System Administrator, Vex.Net
> http://www.Vex.Net/ IM:darcy@Vex.Net
> VoIP: sip:darcy@Vex.Net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message