From 8d69eca630099c99bf30426a59538a08afbc961c Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 14 Jun 2013 16:34:00 +0100 Subject: [PATCH] New Apache2 condiguration for "spclient" site. --- etc/apache2/spclient-mike | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 etc/apache2/spclient-mike diff --git a/etc/apache2/spclient-mike b/etc/apache2/spclient-mike new file mode 100644 index 0000000..eb017be --- /dev/null +++ b/etc/apache2/spclient-mike @@ -0,0 +1,26 @@ +# Configuration for the apache web server -*- apache -*- +# Running on Mike's local development box +# This file is a variant of "spdemo" + +# pazpar2 / service proxy config + + ServerName x.spclient.indexdata.com + ErrorLog /var/log/apache2/spclient-error.log + CustomLog /var/log/apache2/spclient-access.log combined + + RewriteEngine on + RewriteLogLevel 1 + RewriteLog /var/log/apache2/spclient-rewrite.log + + DocumentRoot /usr/local/src/git/mkws/experiments/spclient/ + + 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/ + + # For local Service Proxy running as mvn jetty:run + #ProxyPass /service-proxy/ http://localhost:8585/service-proxy/ + #ProxyPassReverse /service-proxy/ http://localhost:8585/service-proxy/ + -- 1.7.10.4