X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=tools%2Fapache2%2Fmkws-live;h=371100f8bcd4cc7cb711c823e7ad46e0c4a235fb;hb=829ebd8ba140400cc36e8e22f6118c3536ef06b4;hp=a2e8129a22c45cb4234cd6bdf53d3e521bdb269f;hpb=0037b1f1306972f223ee2c37355efe6cd10a9a57;p=mkws-moved-to-github.git diff --git a/tools/apache2/mkws-live b/tools/apache2/mkws-live index a2e8129..371100f 100644 --- a/tools/apache2/mkws-live +++ b/tools/apache2/mkws-live @@ -16,9 +16,11 @@ RewriteLog /var/log/apache2/mkws-rewrite.log # 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] + RewriteRule /service-proxy-auth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=check,login&username=mkws&password=mkws [P] + RewriteRule /service-proxy-testauth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=check,login&username=mkwstest&password=mkwstest [P] + RewriteRule /service-proxy-credoauth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=check,login&username=credo&password=emu [P] + RewriteRule /service-proxy-kohaauth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=check,login&username=kohademo&password=kohademo [P] + RewriteRule /service-proxy-orexauth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=check,login&username=orex&password=orexmkc [P] # The following rule allows the server to accept service-proxy # requests that begin with an escaped "%3F" rather than a literal