From: Mike Taylor Date: Wed, 19 Jun 2013 16:09:30 +0000 (+0100) Subject: Add Apache2 proxy configuration for mkws and somesite. X-Git-Tag: 0.9.1~575^2~20 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=3691327d0a816fc8471ba51dcd5ecd2ac42a6025;p=mkws-moved-to-github.git Add Apache2 proxy configuration for mkws and somesite. --- diff --git a/etc/apache2/spclient-proxy b/etc/apache2/spclient-proxy new file mode 100644 index 0000000..eab9a02 --- /dev/null +++ b/etc/apache2/spclient-proxy @@ -0,0 +1,20 @@ + + ServerName mkws.indexdata.com + ServerAlias somesite.indexdata.com + + ProxyRequests off + ProxyVia On + ProxyPreserveHost On + + Order deny,allow + Allow from all + + + ProxyPass / http://diane:80/ + ProxyPassReverse / http://diane:80/ + + # These are the logs for the proxying operation + ErrorLog /var/log/apache2/mkws-proxy-error.log + CustomLog /var/log/apache2/mkws-proxy-access.log combined + +