From: Wolfram Schneider Date: Thu, 23 Jan 2014 10:40:56 +0000 (+0000) Subject: copy of mkws-dev X-Git-Tag: 1.0.0~1654^2~4 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=2fb712b40b54fdbb54fa7845e2e6007708f6e63b copy of mkws-dev --- diff --git a/tools/apache2/mkws-test b/tools/apache2/mkws-test new file mode 100644 index 0000000..7dde2aa --- /dev/null +++ b/tools/apache2/mkws-test @@ -0,0 +1,33 @@ +# Configuration for the apache web server -*- apache -*- + +# pazpar2 / service proxy config + + ServerName spclient.example.com + ServerAlias spclient-dev.indexdata.com mkws-dev.indexdata.com + ServerAdmin webmaster@example.com + ErrorLog /var/log/apache2/mkws-dev-error.log + CustomLog /var/log/apache2/mkws-dev-access.log combined + + RewriteEngine on + RewriteLogLevel 1 + RewriteLog /var/log/apache2/mkws-dev-rewrite.log + + DocumentRoot /home/indexdata/mkws/examples/htdocs + Alias /tools/htdocs /home/indexdata/mkws/tools/htdocs + + # compress text output + + AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml + SetOutputFilter DEFLATE + + + RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=mkws&password=mkws [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/ + + +