mardi 24 mars 2015

Apache2 HTTP proxy basic auth user and pass not being recognized


Vote count:

0




I'm using an Apache proxy to setup basic auth for elastic search, however for some reason it is not registering my username and password correctly. I'm using chef the generate the user and pass file. Basically its not accepting my credentials.



htpasswd "/etc/apache2/htpasswd.users" do
user 'user'
password 'user'
end


output: "/etc/apache2/htpasswd.users"


user user password user



<VirtualHost *:80>
<Proxy *>
Order Allow,Deny
Allow from all
AuthType Basic
AuthName "Authenticated proxy"
AuthUserFile /etc/apache2/htpasswd.users
Require valid-user
</Proxy>

ProxyRequests Off
ProxyPreserveHost Off
ProxyPass / http://127.0.0.1:9200/
ProxyPassReverse / http://127.0.0.1:9200/
ServerName 127.0.0.1
</VirtualHost>


asked 37 secs ago







Apache2 HTTP proxy basic auth user and pass not being recognized

Aucun commentaire:

Enregistrer un commentaire