> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua
> Slive
> Sent: vrijdag 21 september 2007 15:09
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] mod_access problem
> 
> On 9/21/07, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > When I use the mod_access directives to limit access to certain
files
> or
> > commands, they just seem to be ignored. For example, to disable
> > downloading of .htaccess and .htpasswd files I use the (almost)
> standard
> > rules of:
> >
> > ---  example ---
> > <Files ~ "^\.ht">
> >     Order allow,deny
> >     Deny from all
> >     Satisfy all
> > </Files>
> > --- /example ---
> >
> > As far as I know this should disallow anyone (including users
logging
> in
> > through HTTP AUTH) to open the .ht* files. But if I try to download
> > them, they can be opened.
> > The same problem goes for any other access limiting based on IP.
> 
> Start by reading this:
> http://httpd.apache.org/docs/2.2/sections.html#mergin
> 
> It may be that you have other access-control directives in a
> <Location> section that are overriding your <Files> section.
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Hi,

Found the problem, a long time ago, some punk was abusing a forum I
hosted and I (stupidly) created a <Location /> with his IP as deny and
allow from all, not knowing this would override the other access
restrictions.

Thanks,
Mark

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to