Re: [us...@httpd] Auth and server-side auto-login

2009-07-23 Thread Pascal S. Clermont
Nick Kew wrote: André Warnier wrote: .. 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 h

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread Nick Kew
André Warnier wrote: .. 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

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread André Warnier
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,

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread André Warnier
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 t

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread Peter Schober
* Nick Kew [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-inven

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread Nick Kew
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"

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread Pascal S. Clermont
André Warnier wrote: Peter Schober wrote: * André Warnier [2009-07-22 13:29]: Require valid-user Order allow,deny Allow from 192.168.1 Satisfy Any" I don't think that this is exactly what the OP wanted. Then maybe Jim Fox's mod_auth_location will do? http://staff.washington.edu/fox/authloc

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread André Warnier
Peter Schober wrote: * André Warnier [2009-07-22 13:29]: Require valid-user Order allow,deny Allow from 192.168.1 Satisfy Any" I don't think that this is exactly what the OP wanted. Then maybe Jim Fox's mod_auth_location will do? http://staff.washington.edu/fox/authlocation/ Yes. That lo

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread Peter Schober
* André Warnier [2009-07-22 13:29]: > > Require valid-user > > Order allow,deny > > Allow from 192.168.1 > > Satisfy Any" > > > I don't think that this is exactly what the OP wanted. Then maybe Jim Fox's mod_auth_location will do? http://staff.washington.edu/fox/authlocation/ -peter ---

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread André Warnier
Peter Schober wrote: * Pascal S. Clermont [2009-07-21 21:53]: I want to secure some content from unauthorized access by using : " AuthType Basic AuthName "Authentication Required" AuthUserFile /etc/secret/auth.users Require valid-user " in one of my 's I would like to know if there is a possib

Re: [us...@httpd] Auth and server-side auto-login

2009-07-22 Thread Peter Schober
* Pascal S. Clermont [2009-07-21 21:53]: > I want to secure some content from unauthorized access by using : > " > AuthType Basic > AuthName "Authentication Required" > AuthUserFile /etc/secret/auth.users > Require valid-user > " > in one of my 's > > I would like to know if there is a possible w

Re: [us...@httpd] Auth and server-side auto-login

2009-07-21 Thread André Warnier
Pascal S. Clermont wrote: Server version: Apache/2.0.52 Server built: Oct 29 2008 09:20:05 Red Hat Enterprise Linux AS release 4 (Nahant Update 7) ... I would like to know if there is a possible way for apache to auto-login anyone coming from the 192.168.1 network to a specific user? This

[us...@httpd] Auth and server-side auto-login

2009-07-21 Thread Pascal S. Clermont
Server version: Apache/2.0.52 Server built: Oct 29 2008 09:20:05 Red Hat Enterprise Linux AS release 4 (Nahant Update 7) hi, I want to secure some content from unauthorized access by using : " AuthType Basic AuthName "Authentication Required" AuthUserFile /etc/secret/auth.users Require valid-us