front-end proxy apache config
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 12 Jun 2013 15:37:38 +0000 (15:37 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 12 Jun 2013 15:37:38 +0000 (15:37 +0000)
etc/apache2/spdemo-px [new file with mode: 0644]

diff --git a/etc/apache2/spdemo-px b/etc/apache2/spdemo-px
new file mode 100644 (file)
index 0000000..1d6cd6a
--- /dev/null
@@ -0,0 +1,21 @@
+<VirtualHost *:80> 
+   ServerName spdemo.indexdata.com
+   ServerAlias spdemo-test.indexdata.com spdemo-dev.indexdata.com spdemo-devel.indexdata.com
+   
+   ErrorLog /var/log/apache2/spdemo-error.log
+   CustomLog /var/log/apache2/spdemo-access.log combined
+
+   DefaultType text/html
+   ProxyRequests off 
+   ProxyPreserveHost On
+
+   <Proxy *>
+     Order deny,allow
+     Allow from all
+   </Proxy>
+
+   ProxyPass         / http://dart:80/
+   ProxyPassReverse  / http://dart:80/
+</VirtualHost>
+