1 # Configuration for the apache web server
2 # Running on caliban FROM AN UP-TO-DATE UNSTABLE GIT CHECKOUT
5 ServerName mkws-git.indexdata.com
7 ErrorLog /var/log/apache2/mkws-git-error.log
8 CustomLog /var/log/apache2/mkws-git-access.log combined
10 DocumentRoot /home/indexdata/mkws-git/tools/htdocs
11 Alias /libjs-pz2/ /home/indexdata/libjs-pz2/
15 RewriteLog /var/log/apache2/mkws-git-rewrite.log
16 RewriteRule /service-proxy-auth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=login&username=guest&password=guest [P] # [NE,P]
18 # The following rule allows the server to accept service-proxy
19 # requests that begin with an escaped "%3F" rather than a literal
20 # "?". This is useful, as requests generated by ProxyPass
21 # elsewhere always have the leading "?" escaped for some reason.
22 RewriteRule /service-proxy/\?(.*) /service-proxy/?$1 [P] # [NE,P]
24 Header set Access-Control-Allow-Credentials true
26 # For MKC Service Proxy
27 ProxyPass /service-proxy/ http://sp-mkc.indexdata.com/service-proxy/
28 ProxyPassReverse /service-proxy/ http://sp-mkc.indexdata.com/service-proxy/
31 PerlSwitches -I/home/indexdata/mkws-git/tools/mod_perl
32 <Location /service-proxy>
33 PerlOutputFilterHandler MyApache2::SetACAO