httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alex dyas <ad...@twowaytv.co.uk>
Subject Re: Require a Group but exclude a User
Date Thu, 02 May 2002 10:23:46 GMT
Not a very elegant solution, but the first one I could think of:


SetEnvIf Remote_User "intramgr" deny_entry
Deny from env=deny_entry


See these for more details :

http://httpd.apache.org/docs/mod/mod_setenvif.html#SetEnvIf
http://httpd.apache.org/docs/mod/mod_access.html#allow

alex..

Gerard O'Reilly wrote:
> 
> Hi,
> I am using htaccess and User Authentication on my Intranet.
> I am using Groups and Users but would like to allow access for a Group 
> but exclude a certain User who is a member of the group - can i do this?
>  
> Example
> <Directory "/home/httpd/html/resources/omt/">
>         AuthName "Intranet - restricted area"
>         AuthType Basic
>         AuthGroupFile /etc/httpd/conf/.grouplist
>         AuthUserFile /etc/httpd/conf/passwordfile
> #       AuthAuthoritative off
>         require group omt
> </Directory>
> there is a user named intramgr in the group omt who I dont want to have 
> access.  What is or is there a command for this?
>  
> Many thanks
>  
> Mr. Gerard O'Reilly
> Intranet Manager
> Siam Stars Ltd/ Thai-Belgium Industrial Co. Ltd
> 21/6 Moo 3, Soi Kayha Bangbua,
> Viphavadee Rangsit Road,
> 60 Talad Bangkhen,
> Laksi Bangkok 10210
> Tel:  +66 (02) 5614649 or (02) 9408750
> Fax: +66 (02) 5611486
> E-mail: oreilly@ssltbivdc.com <mailto:oreilly@ssltbivdc.com>


-- 
-= alex dyas - webmaster - twowaytv - uk =-


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


Mime
View raw message