[Cialug] Apache Access Control
Aaron Porter
atporter at gmail.com
Thu Aug 17 15:54:28 CDT 2006
On 8/17/06, Jonathan Bailey <jbailey at co.marshall.ia.us> wrote:
>
> It doesn't seem obvious, but how can I make apache send authentication for
> x.y.z.*, but not anything else? I'm passing REMOTE_USER to Zope via
> FastCGI
> and I'm doing NTLM auto login internally, but do not want anyone prompted
> for a username externally...
>
I think you can get away with something like this (from memory, not tested):
<Limit GET POST PUT >
Order allow,deny
allow from all
deny from 192.168.0.0/255.255.0.0 # Your local net here
AuthName "test"
AuthType Basic
AuthUserFile /path/to/.htpasswd
Require valid-user
Satisfy any
</Limit>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20060817/b48d1fec/attachment.htm
More information about the Cialug
mailing list