Always use PerlOutputFilterHandler, not just on /service-proxy/
[mkws-moved-to-github.git] / etc / apache2 / spclient-live
index 0e72e63..77c0827 100644 (file)
@@ -24,8 +24,9 @@
     ProxyPass        /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
     ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
 
-    SetEnv XIDJSESSION 12345
-    Header add X-Set-Cookie "%{XIDJSESSION}e"
+    PerlOptions +Parent
+    PerlSwitches -I/home/indexdata/mkws/etc/mod_perl
+    PerlOutputFilterHandler MyApache2::CopyCookie
 </VirtualHost>
 
 <VirtualHost *:80>