Simple setup for JSDemo client.
authorMike Taylor <mike@indexdata.com>
Tue, 11 Jun 2013 15:52:00 +0000 (16:52 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 11 Jun 2013 15:52:00 +0000 (16:52 +0100)
experiments/jsdemo/jsdemo.conf [new file with mode: 0644]

diff --git a/experiments/jsdemo/jsdemo.conf b/experiments/jsdemo/jsdemo.conf
new file mode 100644 (file)
index 0000000..5f145bb
--- /dev/null
@@ -0,0 +1,17 @@
+<VirtualHost *:80>
+    ServerName x.mkws.indexdata.com
+    DocumentRoot /usr/local/src/git/pazpar2/www/jsdemo
+    <Directory />
+        Allow from all
+    </Directory>
+    Alias /pazpar2/js/ /usr/local/src/git/pazpar2/js/
+
+    ProxyPreserveHost On
+    <Proxy *>
+        Order deny,allow
+        Allow from all
+    </Proxy>
+    ProxyPass        /pazpar2/js/     !
+    ProxyPass        /pazpar2/        http://localhost:8004/pazpar2/
+    ProxyPassReverse /pazpar2/        http://localhost:8004/pazpar2/
+</VirtualHost>