httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darijo" <dar...@kite-online.net>
Subject [users@httpd] mod_aut question
Date Fri, 30 May 2003 20:32:15 GMT
I'm working to get Apache 2.x to use different mod_auth depending
on from what LAN/Net the user is coming from.

The 2 mod_auth I'm using is mod_auth_ntlm (NT domain authenitcation) 
And the other is mod_auth_radius (Radius authentication)

But I can't get it to work, this is what I was putting in my httpd.conf:


SetEnvIf Remote_Addr ^10\. lan=1 !internet 
SetEnvIf lan ^[^1] internet=1 !lan

<Directory "/var/www/html/folder">
AuthType Basic
AuthName "RADIUS authentication"
AuthAuthoritative off
AuthRadiusAuthoritative on
AuthRadiusCookieValid 5
AuthRadiusActive On
require valid-user
Allow from env=internet 
</Directory>

<Directory "/var/www/html/folder">
AuthType NTLM
AuthNTGroups /etc/httpd/conf/ntgroup   
NTLMAuth on
NTLMAuthoritative on 
NTLMDomain DOMAIN
NTLMServer dc1
NTLMBackup dc2
Require group web
Allow from env=lan
</Directory>

So I wonder if I can do as I tried above or what would you on the list 
Recomend me to do

Thank you in advance

/Darijo



---------------------------------------------------------------------
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