From 87606eae79cb9ec03457dc8203d292359559c892 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Thu, 20 Jun 2013 17:35:56 +0000 Subject: [PATCH] support spclient-dev --- etc/apache2/spclient-dev | 26 ++++++++++++++++++++++++++ etc/apache2/spdemo-px | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 etc/apache2/spclient-dev diff --git a/etc/apache2/spclient-dev b/etc/apache2/spclient-dev new file mode 100644 index 0000000..2d7e34d --- /dev/null +++ b/etc/apache2/spclient-dev @@ -0,0 +1,26 @@ +# Configuration for the apache web server -*- apache -*- + +# pazpar2 / service proxy config + + ServerName spdemo.example.com + ServerAlias spdemo-dev.indexdata.com spdemo-devel.indexdata.com spdemo-sp.indexdata.com spdemo-pp2.indexdata.com + ServerAdmin webmaster@example.com + ErrorLog /var/log/apache2/spdemo-error.log + CustomLog /var/log/apache2/spdemo-access.log combined + + RewriteEngine on + RewriteLogLevel 1 + RewriteLog /var/log/apache2/spdemo-rewrite.log + + DocumentRoot /home/indexdata/mkws/experiments/spclient + + RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=guest&password=guest [P] # [NE,P] + + ProxyPass /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ + ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ + + ProxyPass /pazpar2/ http://localhost:8004/pazpar2/ + ProxyPassReverse /pazpar2/ http://localhost:8004/pazpar2/ + + + diff --git a/etc/apache2/spdemo-px b/etc/apache2/spdemo-px index 77f8f67..7f28300 100644 --- a/etc/apache2/spdemo-px +++ b/etc/apache2/spdemo-px @@ -1,6 +1,6 @@ ServerName spdemo.indexdata.com - ServerAlias spdemo-dev.indexdata.com spdemo-devel.indexdata.com spdemo-sp.indexdata.com spdemo-pp2.indexdata.com + ServerAlias spdemo-dev.indexdata.com spdemo-devel.indexdata.com spdemo-sp.indexdata.com spdemo-pp2.indexdata.com spclient-dev.indexdata.com ErrorLog /var/log/apache2/spdemo-error.log CustomLog /var/log/apache2/spdemo-access.log combined -- 1.7.10.4