Separate stanzas for mkws and somesite.
authorMike Taylor <mike@indexdata.com>
Wed, 19 Jun 2013 16:41:00 +0000 (17:41 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 19 Jun 2013 16:41:00 +0000 (17:41 +0100)
Alias index.html differently for each.
The latter needs less other config.

etc/apache2/spclient-live

index e2ebd73..fd850fa 100644 (file)
@@ -3,13 +3,13 @@
 
 <VirtualHost *:80>
     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
     ProxyPass        /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
     ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
 </VirtualHost>
+
+<VirtualHost *:80>
+    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
+</VirtualHost>