Add DOCTYPE declaration.
[mkws-moved-to-github.git] / tools / apache2 / mkws-mike-mac
index d781dcb..d756148 100644 (file)
@@ -13,7 +13,7 @@
     RewriteEngine on
     RewriteLogLevel 1
     RewriteLog /opt/local/apache2/logs/spclient-rewrite.log 
-    RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=guest&password=guest [P] # [NE,P]
+    RewriteRule /service-proxy-auth(/)?(;jsessionid=.+)? /service-proxy/$2?command=auth&action=login&username=guest&password=guest [P] # [NE,P]
 
     # For MKC Service Proxy
     ProxyPass        /service-proxy/ http://sp-mkc.indexdata.com/service-proxy/