New file, spdemo-mike, for running SPDemo locally.
authorMike Taylor <mike@indexdata.com>
Fri, 14 Jun 2013 13:03:24 +0000 (14:03 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 14 Jun 2013 13:03:24 +0000 (14:03 +0100)
etc/apache2/spdemo-mike [new file with mode: 0644]

diff --git a/etc/apache2/spdemo-mike b/etc/apache2/spdemo-mike
new file mode 100644 (file)
index 0000000..9e67973
--- /dev/null
@@ -0,0 +1,27 @@
+# Configuration for the apache web server                 -*- apache -*-
+# Running on Mike's local development box
+# This file is a variant of "spdemo"
+
+# pazpar2 / service proxy config
+<VirtualHost *:80>
+    ServerName x.spdemo-sp.indexdata.com
+    ErrorLog /var/log/apache2/spdemo-error.log
+    CustomLog /var/log/apache2/spdemo-access.log combined
+
+    RewriteEngine on
+    RewriteLogLevel 1
+    RewriteLog /var/log/apache2/spdemo-rewrite.log 
+
+    DocumentRoot /usr/local/src/git/mkws/experiments/spdemo/
+
+    RewriteRule /service-proxy-auth  /service-proxy/?command=auth&action=login&username=guest&password=guest [P] # [NE,P]
+
+    # For MKC Service Proxy
+    ProxyPass        /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
+    ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
+
+    # For local Service Proxy running as mvn jetty:run
+    #ProxyPass        /service-proxy/ http://localhost:8585/service-proxy/
+    #ProxyPassReverse /service-proxy/ http://localhost:8585/service-proxy/
+
+</VirtualHost>