front end proxy for http://example-dev.indexdata.com/
authorWolfram Schneider <wosch@indexdata.dk>
Tue, 11 Feb 2014 10:02:58 +0000 (10:02 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Tue, 11 Feb 2014 10:02:58 +0000 (10:02 +0000)
examples/apache2/example-dev-px [new file with mode: 0644]

diff --git a/examples/apache2/example-dev-px b/examples/apache2/example-dev-px
new file mode 100644 (file)
index 0000000..49b747e
--- /dev/null
@@ -0,0 +1,19 @@
+<VirtualHost *:80>
+    ServerName example-dev.indexdata.com
+
+    ProxyRequests off
+    ProxyVia On
+    ProxyPreserveHost On
+    <Proxy *>
+      Order deny,allow
+      Allow from all
+    </Proxy>
+
+    ProxyPass         / http://dart:80/
+    ProxyPassReverse  / http://dart:80/
+
+    # These are the logs for the proxying operation
+    ErrorLog /var/log/apache2/example-dev-px-error.log
+    CustomLog /var/log/apache2/example-dev-px-access.log combined
+</VirtualHost>
+