Apache2 config for Mike's local installation.
authorMike Taylor <mike@indexdata.com>
Thu, 22 Aug 2013 09:57:08 +0000 (10:57 +0100)
committerMike Taylor <mike@indexdata.com>
Thu, 22 Aug 2013 09:57:08 +0000 (10:57 +0100)
examples/apache2/mkws-examples-mike [new file with mode: 0644]

diff --git a/examples/apache2/mkws-examples-mike b/examples/apache2/mkws-examples-mike
new file mode 100644 (file)
index 0000000..47d2ef5
--- /dev/null
@@ -0,0 +1,18 @@
+<VirtualHost *:80>
+    ServerName x.example.indexdata.com
+    DocumentRoot /usr/local/src/git/mkws/examples/htdocs/
+    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/
+</VirtualHost>