httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: .htaccess on cgi-bin
Date Tue, 09 Jul 2002 07:10:07 GMT
>From: Doug Groves []
>I'm having problems using .htaccess files to control access 
>into sub-dirs of
>the server's cg-bin dir.
>the .htaccess file reads like this...
>   AuthType Basic
>   AuthUserFile /usr/local/apache/conf/testcgi.passwd
>   AuthName TestCGI
>   require user admin
>   satisfy any

Read the docsc for "Satisfy"... Using the keyword "any" is like a boolean OR of authentication
and IP range. In other words, you get in if you pass authentication OR you are in the IP range.
If you change the keyword to "all" (or remove "Satify" since "all" is the default) then the
logic changes to boolean AND - which is probably what you really want.


Owen Boyle

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message