httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Greenlees" <li...@jaqui-greenlees.net>
Subject Re: [users@httpd] multiple authentication methods in a <directory>
Date Mon, 09 Aug 2010 04:32:36 GMT
Terry wrote:
> Hello,
> 
> I am using auth_pam to authenticate local users to a directory as such:
> 
>         <Directory "/usr/share/nagios">
>                 Options None
>                 AllowOverride None
>                 Order allow,deny
>                 Allow from all
>                 AuthType Basic
>                 AuthName "Nagios"
>                 require group DOMAIN\administrators
>         </Directory>
> 
> This works great but I have an automated program that isn't accepting
> the credentials so as a workaround, I want to also allow users who are
> part of a htpasswd file like this:
> 
>         <Directory "/usr/share/nagios">
>                 Options None
>                 AllowOverride None
>                 Order allow,deny
>                 Allow from all
>                 AuthType Basic
>                 AuthName "Nagios"
>                 require group DOMAIN\administrators
>                AuthPAM_FallThrough on
>                AuthUserFile /etc/nagios/htpasswd.users
>                require user foobar
>         </Directory>
> 
> It simply doesn't work.  I tried Satisfy Any but that appears to be a
> satisfy of "allow from" OR "require".  Any ideas?
> 

Options None
AllowOverride None
both stop the .htaccess and .htpassword from affecting the access.


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message