"Customer" Apache2 configuration used RewriteRule instead of ProxyPass
[mkws-moved-to-github.git] / examples / apache2 / mkws-examples-mike
index d5f2043..1b308ac 100644 (file)
@@ -4,8 +4,8 @@
     ErrorLog /var/log/apache2/mkws-examples-error.log
     CustomLog /var/log/apache2/mkws-examples-access.log combined
 
-    ProxyPass        /service-proxy-auth-mike http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=demo&password=demo
-    ProxyPassReverse /service-proxy-auth-mike http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=demo&password=demo
+    RewriteEngine on
+    RewriteRule      /service-proxy-auth/ http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=demo&password=demo [P]
 </VirtualHost>
 
 <VirtualHost *:80>