Find the answer to your Linux question:
Results 1 to 3 of 3
Hi. I have a Apache2 Proxy with a proxy login: <Proxy *> " Som stuff" Require valid-user </Proxy> A few redirects and I have problem with this one: ProxyPass /nagios/ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    3

    Apache2 proxy second login problem


    Hi.

    I have a Apache2 Proxy with a proxy login:
    <Proxy *>
    " Som stuff"
    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.

    Why does it go back to the proxy login and how can I fix it?

    /Kurre

  2. #2
    Just Joined!
    Join Date
    Dec 2006
    Posts
    3
    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

  3. #3
    Just Joined!
    Join Date
    Dec 2006
    Posts
    3
    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

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •