extract latest git commit ID from github, MKWS-420
[mkws-moved-to-github.git] / examples / apache2 / mkws-examples
1 # This is for the live example.indexdata.com, running on caliban
2
3 <VirtualHost *:80>
4     ServerName example.indexdata.com
5     DocumentRoot /home/indexdata/demos/
6     Alias /mkws-sandbox/ /home/indexdata/mkws/examples/htdocs/
7     Alias /tools/htdocs/ /home/indexdata/mkws/tools/htdocs/
8     Alias /src/ /home/indexdata/mkws/src/
9     Alias /jasmine/ /home/indexdata/mkws/examples/jasmine/
10     Alias /test/ /home/indexdata/mkws/test/
11     ErrorLog /var/log/apache2/mkws-examples-error.log
12     CustomLog /var/log/apache2/mkws-examples-access.log combined
13
14     RewriteEngine on
15     RewriteRule /service-proxy-auth http://sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=mkws&password=mkws [P]
16     #ProxyPass /spcat/ http://spcatdemo.indexdata.com/spcat/
17     #ProxyPassReverse /spcat/ http://spcatdemo.indexdata.com/spcat/
18     ProxyPass /spcat/ http://catdemo-us.indexdata.com/spcat/
19     ProxyPassReverse /spcat/ http://catdemo-us.indexdata.com/spcat/
20     #RewriteLog /var/log/apache2/mkws-examples-rewrite.log
21     #RewriteLogLevel 9
22 </VirtualHost>