Add rewrite rule to make local authentication work.
authorMike Taylor <mike@indexdata.com>
Fri, 13 Dec 2013 14:31:17 +0000 (14:31 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 13 Dec 2013 14:31:17 +0000 (14:31 +0000)
examples/apache2/mkws-examples

index d3c20bf..8d4a91b 100644 (file)
@@ -5,4 +5,7 @@
     DocumentRoot /home/indexdata/mkws/examples/htdocs/
     ErrorLog /var/log/apache2/mkws-examples-error.log
     CustomLog /var/log/apache2/mkws-examples-access.log combined
+
+    RewriteEngine on
+    RewriteRule /service-proxy-auth/ http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=demo&password=demo [P]
 </VirtualHost>