This won't work.
[mkws-moved-to-github.git] / etc / apache2 / spclient-live
index 1bd022a..7aeef00 100644 (file)
@@ -23,6 +23,9 @@
     # For MKC Service Proxy
     ProxyPass        /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
     ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
+
+    Header edit Set-Cookie .* "$0
+X-IndexData-JSESSION: $0"
 </VirtualHost>
 
 <VirtualHost *:80>
 
     DocumentRoot /home/indexdata/mkws/experiments/spclient/
     Alias /index.html /home/indexdata/mkws/experiments/spclient/index-somesite.html
-
-#    RewriteEngine on
-#    RewriteLogLevel 1
-#    RewriteLog /var/log/apache2/mkws-rewrite.log 
-#    RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=guest&password=guest [P] # [NE,P]
-#
-#    # For MKC Service Proxy
-#    ProxyPass        /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
-#    ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
 </VirtualHost>