Add alias for /pazpar2/
[mkws-moved-to-github.git] / examples / apache2 / mkws-examples-mike
1 <VirtualHost *:80>
2     ServerName x.example.indexdata.com
3     DocumentRoot /usr/local/src/git/mkws/examples/htdocs/
4     ErrorLog /var/log/apache2/mkws-examples-error.log
5     CustomLog /var/log/apache2/mkws-examples-access.log combined
6
7     ProxyPass        /service-proxy-auth-mike http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=demo&password=demo
8     ProxyPassReverse /service-proxy-auth-mike http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=demo&password=demo
9 </VirtualHost>
10
11 <VirtualHost *:80>
12     ServerName x.mkws.indexdata.com
13     DocumentRoot /usr/local/src/git/mkws/tools/htdocs/
14     ErrorLog /var/log/apache2/mkws-tools-error.log
15     CustomLog /var/log/apache2/mkws-tools-access.log combined
16
17     Alias /libjs-pz2/ /usr/local/src/git/libjs-pz2/
18     Alias /pazpar2/ /usr/local/src/git/pazpar2/
19 </VirtualHost>