1 # Configuration for the apache web server -*- apache -*-
2 # Running on Mike's local development box
3 # This file is a variant of "spdemo"
5 # pazpar2 / service proxy config
7 ServerName x.spdemo-sp.indexdata.com
8 ErrorLog /var/log/apache2/spdemo-error.log
9 CustomLog /var/log/apache2/spdemo-access.log combined
13 RewriteLog /var/log/apache2/spdemo-rewrite.log
15 DocumentRoot /usr/local/src/git/mkws/experiments/spdemo/
17 RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=guest&password=guest [P] # [NE,P]
19 # For MKC Service Proxy
20 ProxyPass /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
21 ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
23 # For local Service Proxy running as mvn jetty:run
24 #ProxyPass /service-proxy/ http://localhost:8585/service-proxy/
25 #ProxyPassReverse /service-proxy/ http://localhost:8585/service-proxy/