André Warnier wrote:
Nick Kew wrote: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 :)Ah, we got an expert on the line ! Rephrasing the original question :- an Apache application of which we do not have the source code and cannot thus modify, requires an Apache authenticated user-id - however, for the select group of users accessing the application from the network 192.168.1.0, we want to save them the bother of logging in, and automatically attribute them the user-id of "internal".Question : is there any combination of standard Apache directives/modules which can achieve that ?
.. and to explicit the question even more :Deep down in Apache's "request record" for the current request, there is a field which contains the authenticated user-id for this request, thus available to any other Apache module (not only to cgi scripts). I have a doubt that merely setting the "Apache variable" REMOTE_USER would auto-magically set this field.
But maybe I'm wrong. --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx