Remove x.mkws.indexdata.com stanza into its own file, mkws-tools-mike
[mkws-moved-to-github.git] / examples / apache2 / mkws-examples-mike
index d5f2043..93d4468 100644 (file)
@@ -4,16 +4,6 @@
     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
-</VirtualHost>
-
-<VirtualHost *:80>
-    ServerName x.mkws.indexdata.com
-    DocumentRoot /usr/local/src/git/mkws/tools/htdocs/
-    ErrorLog /var/log/apache2/mkws-tools-error.log
-    CustomLog /var/log/apache2/mkws-tools-access.log combined
-
-    Alias /libjs-pz2/ /usr/local/src/git/libjs-pz2/
-    Alias /pazpar2/ /usr/local/src/git/pazpar2/
+    RewriteEngine on
+    RewriteRule      /service-proxy-auth/ http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=demo&password=demo [P]
 </VirtualHost>