Afternoon peoples. I'm having a little drama on a Debian/SPARC (Potato) box with getting Apache to successfully authenticate when used in conjunction with ProxyPassReverse.
The scenario works like this: - users hit server-a - server-a prompts for auth - server-a then delivers proxy'd data from server-b as though it came from server-a Take out the auth and this is working fine. When auth is on however, it prompts you forever (literally, it's just keeps prompting). When a correct username/password combo is entered it just pops up another auth window (no log entries - when you enter an incorrect username/password is does log that though). Below are my VirtualHost entries in the hope they shed some light: <VirtualHost xxx.xxx.xxx.xxx> ServerAdmin webmaster@domain DocumentRoot /var/www/server-a ServerName server-a SSLCertificateFile /etc/apache-ssl/virtual/server-a.pem ProxyPass / http://server-b/ ProxyPassReverse / http://server-b/ <Directory proxy:*> AuthName "server-b" AuthType Basic AuthUserFile /var/www/htpasswd.users Require valid-user </Directory> ErrorLog /var/log/apache-ssl/server-a-error.log TransferLog /var/log/apache-ssl/server-a-access.log </VirtualHost> -- Cheers, Craige,
signature.asc
Description: This is a digitally signed message part
