httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peng Annie <Annie.P...@KONE.com>
Subject [users@httpd] question about apache
Date Wed, 20 Nov 2002 11:14:33 GMT

Hi, another question again.

Now I understand with 

SetEnvIf SM-USER ^admin$ got_admin 
Order deny,allow 
deny from all 
allow from env=got_admin 

I can allow user admin to access the dir. How about if we have a lot of
users. Is it possible to load usernames from a file?

Thanks!

Annie

On Tue, 19 Nov 2002, Peng Annie wrote: 
> The Apache2 is behind NETEGRITY firewall, NETEGRITY is taking care of 
> the user authentication, after the checking, NETEGRITY put a HTTP header 
> which called HTTP_SM_USER. Under Apache2's document room, there is a 
> secret directory (for example $Apache_Document_Root/secretDir/) , which 
> is only accessable by one user (for example this username is admin, it 
> means HTTP_SM_USER=admin). What do I have to do with this security 
> checking? 
See mod_setenvif or mod_rewrite. 
In the first case, it will look something like: 
SetEnvIf SM-USER ^admin$ got_admin 
Order deny,allow 
deny from all 
allow from env=got_admin 
I'm assuming that the real name of the HTTP header is SM-USER. 
Joshua. 
--------------------------------------------------------------------- 
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 
This message has been checked by KONE Corporation for the presence of
computer viruses	



This message has been checked by KONE Corporation for the presence of computer viruses

Mime
View raw message