From: Mike Taylor Date: Wed, 19 Jun 2013 17:25:18 +0000 (+0100) Subject: Give up and put /service-proxy/ aliases in somesite stanza. X-Git-Tag: 0.9.1~575^2~6 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=37d17b31d0709dd8858df3e0406de9dd2c59cb56;p=mkws-moved-to-github.git Give up and put /service-proxy/ aliases in somesite stanza. --- diff --git a/etc/apache2/spclient-live b/etc/apache2/spclient-live index 2d5eebf..ae8c4ad 100644 --- a/etc/apache2/spclient-live +++ b/etc/apache2/spclient-live @@ -30,5 +30,13 @@ 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 + + RewriteEngine on + RewriteLogLevel 1 + RewriteLog /var/log/apache2/mkws-rewrite.log + RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=guest&password=guest [P] # [NE,P] + + # For MKC Service Proxy + ProxyPass /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ + ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/