1 # Configuration for the apache web server
5 ServerName mkws.indexdata.com
6 ServerAlias mkws01.indexdata.com
7 ServerAlias mkws02.indexdata.com
9 ErrorLog /var/log/apache2/mkws-error.log
10 CustomLog /var/log/apache2/mkws-access.log combined
12 DocumentRoot /home/indexdata/mkws/tools/htdocs
13 Alias /libjs-pz2/ /home/indexdata/libjs-pz2/
14 Alias /pazpar2/ /usr/share/pazpar2/
18 RewriteLog /var/log/apache2/mkws-rewrite.log
20 # Credential-hiding rewrite rules for standard MKWS account, testing account and various application accounts
21 RewriteRule /service-proxy-auth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=check,login&username=mkws&password=mkws&identity=mkws [P]
22 RewriteRule /service-proxy-testauth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=check,login&username=mkwstest&password=mkwstest&identity=mkws_test [P]
23 RewriteRule /service-proxy-credoauth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=check,login&username=credo&password=emu&identity=testing_credo_emulator [P]
24 RewriteRule /service-proxy-kohaauth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=check,login&username=kohademo&password=kohademo&identity=demo_koha_mkws [P]
25 RewriteRule /service-proxy-orexauth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=check,login&username=orex&password=orexmkc&identity=orex_digital2 [P]
27 RewriteRule /service-proxy/ /no-service-proxy.html