Hello,
I'm trying to setup an Apache reverse proxy using http authentication on the
proxy server. Everything is working, but when I try to use the <direcory proxy:>
directive to define ACLs based on the URL path the syntax does not take.
What I need is to define seperate http auth ACLS for the proxy path /app1 and
/app2.
--
<IfModule mod_proxy.c>
ProxyRequests On
<Directory proxy:*> (proxy:/app1 does not work)
order allow,deny
allow from all
deny from none
AuthName "gateway signon"
AuthType Basic
AuthUserFile /usr/local/apache-auth/conf/.htaccess
Auth_MySQL_Encryption_Types Plaintext
require group tpa_noc
</Directory>
ProxyPass /app1 http://server1.com
ProxyPassReverse /app1 http://server1.com
ProxyPass /app2 http://server2.com
ProxyPassReverse /app2 http://server2.com
--
-
Luke Stepniowski