RE: Authenticate each user once for multiple applications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The proxy server also needs to forward some requests (/nagios) to another internal apache server. Any suggestions in this case?

-----Original Message-----
From: Peter Schober [mailto:peter.schober@xxxxxxxxxxxx] 
Sent: Friday, November 13, 2009 10:18 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Authenticate each user once for multiple applications

* Yungwei Chen <yungwei@xxxxxxxxxxxxx> [2009-11-13 17:00]:
>     <Location /rpt >
>        Order Deny,Allow
>        Deny from all
>        Allow from ...
>        ProxyPass        https://111.111.111.111/rpt
>        ProxyPassReverse https://111.111.111.111/rpt
>        ProxyPassReverseCookieDomain 111.111.111.111 100.100.100.100
>        AuthName "Restricted Access"
>        AuthType Basic
>        AuthUserFile /etc/httpd/passwd/htpasswd.users
>        Require valid-user
>    </Location>
[...]
>     <Location /rpt2 >
>        Order Deny,Allow
>        Deny from all
>        Allow from ...
>        ProxyPass        https://111.111.111.111/rpt2
>        ProxyPassReverse https://111.111.111.111/rpt2
>        ProxyPassReverseCookieDomain 111.111.111.111 100.100.100.100
>        AuthName "Restricted Access"
>        AuthType Basic
>        AuthUserFile /etc/httpd/passwd/htpasswd.users
>        Require valid-user
>    </Location>

If this indeed is representative of your site's structure you could
simply have one <Location /foo> (or just '/') proxying to
https://111.111.111.111/ and you should be able to access /foo/rpt,
/foo/rpt2. etc.
-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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux