Use sp-mkws for SP authentication and access.
[mkws-moved-to-github.git] / tools / apache2 / sp-mkws-mike
1 <VirtualHost *:80>
2     ServerName x.sp-mkws.indexdata.com
3
4     ErrorLog /var/log/apache2/sp-mkws-error.log
5     CustomLog /var/log/apache2/sp-mkws-access.log combined
6
7     DocumentRoot /usr/local/src/git/mkws/tools/sp-htdocs
8
9     Header set Access-Control-Allow-Credentials true
10
11     ProxyPreserveHost On
12     # We could use any of the following:
13     ProxyPass        /service-proxy/ http://x.sp-mkws.indexdata.com:8585/service-proxy/
14     ProxyPassReverse /service-proxy/ http://x.sp-mkws.indexdata.com:8585/service-proxy/
15
16 #    PerlOptions +Parent
17 #    PerlSwitches -I/home/indexdata/mkws/tools/mod_perl
18 #    <Location /service-proxy>
19 #        PerlOutputFilterHandler MyApache2::SetACAO
20 #    </Location>
21 </VirtualHost>