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