Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mod_proxy: second login problem |
|
Author |
|
kurre
Joined: 28 Dec 2006 Posts: 3
|
Posted: Thu 28 Dec '06 13:43 Post subject: mod_proxy: second login problem |
|
|
Hi.
I have a proxy login:
<Proxy *>
AllowOverride None
AuthType KerberosV5
AuthName "PC Login"
KrbAuthRealm A_DOMAIN
KrbMethodNegotiate off
KrbSaveCredentials off
KrbVerifyKDC off
Require valid-user
</Proxy>
A few redirects and I have problem with this one:
ProxyPass /nagios/ http://internal_server/nagios/
<Location /nagios/>
ProxyPassReverse /
</Location>
Not the redirect, it works and after a successfull proxy login,
I get the Nagios login.
After entering a successfull Nagios login, I get back to the proxy login.
Entering the proxy login again and I get "Authorization Required" from Nagios.
Any ideas how to solv it?
/Kurre |
|
Back to top |
|
kurre
Joined: 28 Dec 2006 Posts: 3
|
Posted: Fri 29 Dec '06 13:35 Post subject: mod_proxy: second login problem |
|
|
Hi.
More info:
After the proxy login, he attempts to login to the Nagios server with the same credentials.
As the user dosn't exists in Nagios I get the Nagios login window, but whatever ia'm enter as the username, Nagios uses the username from the proxy.
So, how to prevent the Apache/Proxy to sharing the credentials to the other servers?
/Kurre |
|
Back to top |
|
kurre
Joined: 28 Dec 2006 Posts: 3
|
Posted: Tue 02 Jan '07 10:34 Post subject: mod_proxy: second login problem |
|
|
Hi.
It seems that the proxy sends 401 (Authorization Required) back to the browser instead of 407 (Proxy Authentication Required).
Does anyone know how to tell apache to send 407.
/Kurre |
|
Back to top |
|
|
|
|
|
|