[Lvlug] Re: restricting webserver access
faber at linuxnj.com
Thu Sep 8 14:41:37 EDT 2005
On 08/09/05 13:42 -0400, Randy Kramer wrote:
> On Thursday 08 September 2005 12:01 pm, Faber Fedor wrote:
> > Order allow,deny
> > Deny from all
> > Allow from 127.0.0.1
> > </Directory>
> > And it doesn't work. Access is denied from EVERYWHERE, including
> > 127.0.0.1.
> I was going to respond to your last post, but I came back here (first) to
> explain how I interpret this.
> That seems to make perfect sense to me, with the following
> * the order (sequence) of the 2nd and 3rd lines doesn't matter, it is
> overruled by the "Order allow, deny" line
> * So, first, access is allowed from 127.0.0.1
> * But then, access is denied from all (so the allowed access to 127.0.0.1
> is overruled)
Okay. _That_ makes sense but it's not what I would have thought. I'll have to test it to see if you're right.
> Randy Kramer
> Lvlug mailing list
> Lvlug at thelinuxlink.net
Linux New Jersey, Inc.
More information about the Lvlug