From: Mike Taylor Date: Wed, 19 Jun 2013 16:41:00 +0000 (+0100) Subject: Separate stanzas for mkws and somesite. X-Git-Tag: 0.9.1~575^2~13 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=761f1c28d0c1c14203d3b06ecea6eea21c331c28;p=mkws-moved-to-github.git Separate stanzas for mkws and somesite. Alias index.html differently for each. The latter needs less other config. --- diff --git a/etc/apache2/spclient-live b/etc/apache2/spclient-live index e2ebd73..fd850fa 100644 --- a/etc/apache2/spclient-live +++ b/etc/apache2/spclient-live @@ -3,13 +3,13 @@ ServerName mkws.indexdata.com - ServerName somesite.indexdata.com ErrorLog /var/log/apache2/mkws-error.log CustomLog /var/log/apache2/mkws-access.log combined DocumentRoot /home/indexdata/mkws/experiments/spclient/ Alias /libjs-pz2/ /home/indexdata/libjs-pz2/ + Alias /index.html /home/indexdata/mkws/experiments/spclient/index-mkws.html RewriteEngine on RewriteLogLevel 1 @@ -20,3 +20,13 @@ ProxyPass /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ + + + ServerName somesite.indexdata.com + + ErrorLog /var/log/apache2/somesite-error.log + CustomLog /var/log/apache2/somesite-access.log combined + + DocumentRoot /home/indexdata/mkws/experiments/spclient/ + Alias /index.html /home/indexdata/mkws/experiments/spclient/index-somesite.html +