logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_proxy: second login problem
Author
kurre



Joined: 28 Dec 2006
Posts: 3

PostPosted: Thu 28 Dec '06 13:43    Post subject: mod_proxy: second login problem Reply with quote

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

PostPosted: Fri 29 Dec '06 13:35    Post subject: mod_proxy: second login problem Reply with quote

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

PostPosted: Tue 02 Jan '07 10:34    Post subject: mod_proxy: second login problem Reply with quote

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


Reply to topic   Topic: mod_proxy: second login problem View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules