1 # Configuration for the apache web server -*- apache -*-
3 # pazpar2 / service proxy config
5 ServerName mkws-dev.indexdata.com
7 ServerAdmin webmaster@example.com
8 ErrorLog /var/log/apache2/mkws-dev-error.log
9 CustomLog /var/log/apache2/mkws-dev-access.log combined
13 RewriteLog /var/log/apache2/mkws-dev-rewrite.log
15 DocumentRoot /home/indexdata/mkws/examples/htdocs
16 Alias /tools/htdocs /home/indexdata/mkws/tools/htdocs
18 # compress text output
20 AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml
21 SetOutputFilter DEFLATE
24 RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=mkws&password=mkws [P] # [NE,P]
26 ProxyPass /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
27 ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
29 ProxyPass /pazpar2/ http://localhost:8004/pazpar2/
30 ProxyPassReverse /pazpar2/ http://localhost:8004/pazpar2/