Hide new fields in mkws.css
[mkws-moved-to-github.git] / tools / apache2 / sp-mkws-live
1 # Separate hostname for the MKWS instance of the Service Proxy.
2 # This allows us to use a different SP configuration that handles
3 # authentication differently.
4 #
5 # Once this is in universal use, we can get rid of the Service Proxy
6 # stuff in the configuration for mkws.indexdata.com
7 #
8 <VirtualHost *:80>
9     ServerName sp-mkws.indexdata.com
10     ServerAlias sp-mkws01.indexdata.com
11     ServerAlias sp-mkws02.indexdata.com
12
13     ErrorLog /var/log/apache2/sp-mkws-error.log
14     CustomLog /var/log/apache2/sp-mkws-access.log combined
15
16     DocumentRoot /home/indexdata/mkws/tools/sp-htdocs
17
18     # No rewriting on this server: use the true URL.
19     # (The security value of rewrite is when the application site does it.)
20
21     Header set Access-Control-Allow-Credentials true
22
23     ProxyPreserveHost On
24     ProxyPass        /service-proxy/ http://sp-mkws-backend.indexdata.com:8080/service-proxy/
25     ProxyPassReverse /service-proxy/ http://sp-mkws-backend.indexdata.com:8080/service-proxy/
26
27     PerlOptions +Parent
28     PerlSwitches -I/home/indexdata/mkws/tools/mod_perl
29     <Location /service-proxy>
30         PerlOutputFilterHandler MyApache2::SetACAO
31     </Location>
32 </VirtualHost>