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.
5 # Once this is in universal use, we can get rid of the Service Proxy
6 # stuff in the configuration for mkws.indexdata.com
9 ServerName sp-mkws.indexdata.com
11 ErrorLog /var/log/apache2/sp-mkws-error.log
12 CustomLog /var/log/apache2/sp-mkws-access.log combined
14 DocumentRoot /home/indexdata/mkws/tools/sp-htdocs
16 # No rewriting on this server: use the true URL.
17 # (The security value of rewrite is when the application site does it.)
19 Header set Access-Control-Allow-Credentials true
21 # We could use any of the following:
22 # sp-mkc.indexdata.com/service-proxy/ -- multiplexer
23 # sp-mkc-sansa.indexdata.com:8080/service-proxy/ -- 1st back-end server
24 # sp-mkc-arya.indexdata.com:8080/service-proxy/ -- 2nd back-end server
25 ProxyPass /service-proxy/ http://sp-mkc.indexdata.com/service-proxy/
26 ProxyPassReverse /service-proxy/ http://sp-mkc.indexdata.com/service-proxy/
29 PerlSwitches -I/home/indexdata/mkws/tools/mod_perl
30 <Location /service-proxy>
31 PerlOutputFilterHandler MyApache2::SetACAO