httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: .htaccess on cgi-bin
Date Tue, 09 Jul 2002 07:10:07 GMT
>From: Doug Groves [mailto:groups@valis.net]
>
>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.

Rgds,

Owen Boyle

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


Mime
View raw message