Score:0

Apache ProxyPass Proxyreverse issue in combination with AuthType Basic

in flag

I have a apache webserver running which makes use of ProxyPass and ProxyPassReverse. In the current config there is no security applied so i thought let met add under the location parameter an authtype basic

<Location "/test">
    Order allow,deny
    Allow from all
    ProxyPass http://127.0.0.1:8000/welcome
    ProxyPassReverse http://127.0.0.1:8000/welcome
    AuthType Basic
    AuthName "Login with mail or uid"
    AuthBasicProvider ldap-uid
    Require valid-user
</Location>

When i do this i have a popup which requires me a user name password in order to complete. Now what happens is that the moment i enter the username and password the page hangs in a loading state but as soon as i remove the

AuthType Basic
AuthName "Login with mail or uid"
AuthBasicProvider ldap-uid
Require valid-user

Everything continues as is.

What can i do to allow continuing with the Authtype Basic?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.