The service proxy auth URL shortcut may contain ;jsessionid= as part of the URL path...
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 6 Jun 2014 11:05:16 +0000 (11:05 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 6 Jun 2014 11:05:16 +0000 (11:05 +0000)
tools/apache2/mkws-dev

index 9805492..582af95 100644 (file)
     </Location> 
 
     # jasmine test account
-    RewriteRule /service-proxy-testauth  /service-proxy/?command=auth&action=login&username=mkwstest&password=mkwstest [P] # [NE,P]
+    RewriteRule /service-proxy-testauth(/)?(;jsessionid=.+)?  /service-proxy/$2?command=auth&action=login&username=mkwstest&password=mkwstest [P] # [NE,P]
 
     # mkws devel account (e.g. memached testing)
-    RewriteRule /service-proxy-auth  /service-proxy/?command=auth&action=login&username=mkwsdev&password=mkwsdev [P] # [NE,P]
+    RewriteRule /service-proxy-auth(/)?(;jsessionid=.+)?  /service-proxy/$2?command=auth&action=login&username=mkwsdev&password=mkwsdev [P] # [NE,P]
 
     ProxyPass        /service-proxy/ http://sp-mkc.indexdata.com/service-proxy/
     ProxyPassReverse /service-proxy/ http://sp-mkc.indexdata.com/service-proxy/