Move the SPDemo stuff into examples area ... but do we still need it at all?
[mkws-moved-to-github.git] / examples / apache2 / spdemo-mike
1 # Configuration for the apache web server                 -*- apache -*-
2 # Running on Mike's local development box
3 # This file is a variant of "spdemo"
4
5 # pazpar2 / service proxy config
6 <VirtualHost *:80>
7     ServerName x.spdemo-sp.indexdata.com
8     ErrorLog /var/log/apache2/spdemo-error.log
9     CustomLog /var/log/apache2/spdemo-access.log combined
10
11     RewriteEngine on
12     RewriteLogLevel 1
13     RewriteLog /var/log/apache2/spdemo-rewrite.log 
14
15     DocumentRoot /usr/local/src/git/mkws/experiments/spdemo/
16
17     RewriteRule /service-proxy-auth  /service-proxy/?command=auth&action=login&username=guest&password=guest [P] # [NE,P]
18
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/
22
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/
26 </VirtualHost>