our apache proxy config files end with -px
[mkws-moved-to-github.git] / tools / apache2 / mkws-dev-px
diff --git a/tools/apache2/mkws-dev-px b/tools/apache2/mkws-dev-px
new file mode 100644 (file)
index 0000000..ef05c02
--- /dev/null
@@ -0,0 +1,19 @@
+<VirtualHost *:80>
+    ServerName mkws-dev.indexdata.com
+    ServerAlias spclient-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/mkws-dev-proxy-error.log
+    CustomLog /var/log/apache2/mkws-dev-proxy-access.log combined
+</VirtualHost>