httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schober <peter.scho...@univie.ac.at>
Subject Re: [users@httpd] Auth and server-side auto-login
Date Wed, 22 Jul 2009 13:49:33 GMT
* Nick Kew <nick@webthing.com> [2009-07-22 15:41]:
> Pascal S. Clermont wrote:
> 
> > A conjunction of network based auth + "SetEnvIf Remote_Addr 
> > "^192\.168\.1\.\d{1,3}$" REMOTE_USER=LOCAL_IP" might be suitable for my 
> > current needs.
> 
> That looks like a re-invention of "Satisfy Any".
> If you are re-inventing a wheel, kudos for NOT doing
> the "usual thing" and hacking it with mod_rewrite!
> 
> But I could be missing something from earlier in the thread :)

Besides a recommendation to use "satisfy any": question was whether
it's important to have some identifier in REMOTE_USER (speaking
CGI-ly). If you can't modify the application (to use REMOTE_ADDR
unless REMOTE_USER was set) doing this mapping in the webserver might
help.
-peter

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