X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tools%2Fapache2%2Fmkws-live;h=a2e8129a22c45cb4234cd6bdf53d3e521bdb269f;hb=0037b1f1306972f223ee2c37355efe6cd10a9a57;hp=914b1d81795ebfa05e336d8533487b245d469074;hpb=848c0701dd48ef4224abf0ada7c39e9afba5f1e1;p=mkws-moved-to-github.git diff --git a/tools/apache2/mkws-live b/tools/apache2/mkws-live index 914b1d8..a2e8129 100644 --- a/tools/apache2/mkws-live +++ b/tools/apache2/mkws-live @@ -9,11 +9,16 @@ DocumentRoot /home/indexdata/mkws/tools/htdocs Alias /libjs-pz2/ /home/indexdata/libjs-pz2/ + Alias /pazpar2/ /home/indexdata/pazpar2/ RewriteEngine on RewriteLogLevel 1 RewriteLog /var/log/apache2/mkws-rewrite.log - RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=demo&password=demo [P] # [NE,P] + + # Credential-hiding rewrite rules for standard MKWS account, testing account and various application accounts + RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=mkws&password=mkws [P] # [NE,P] + RewriteRule /service-proxy-testauth /service-proxy/?command=auth&action=login&username=mkwstest&password=mkwstest [P] # [NE,P] + RewriteRule /service-proxy-credoauth /service-proxy/?command=auth&action=login&username=credo&password=emu [P] # [NE,P] # The following rule allows the server to accept service-proxy # requests that begin with an escaped "%3F" rather than a literal @@ -24,8 +29,8 @@ Header set Access-Control-Allow-Credentials true # For MKC Service Proxy - ProxyPass /service-proxy/ http://mk2-test.indexdata.com/service-proxy/ - ProxyPassReverse /service-proxy/ http://mk2-test.indexdata.com/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/tools/mod_perl