I've setup a proxy
server with 3 application servers behind it that I have no control
over. 2 of these apps use java servlets so both want to set a jsessionid
with path=/.
The current
implementation of ProxyPassReverseCookiePath only allows me to enter one
translation for path=/
I'd like to be able
to control which translation is used by placing the ProxyPassReverseCookiePath
within a <Location>. When the proxy code checks what to do with a
set-cookie header it can then check the uri against the path that a
ProxyPassReverseCookiePath was configured in to decide whether to carry out the
translation or not.
I have amended my
2.0.53 code to allow this based on the corrected 2.0.49 patch for bug
10722 (bug http://issues.apache.org/bugzilla/show_bug.cgi?id=10722 ,
patch http://issues.apache.org/bugzilla/attachment.cgi?id=11915)
I've attached my
patch to bug 10722, http://issues.apache.org/bugzilla/attachment.cgi?id=15543
This is working
great for me, translating set-cookie from either of the 2 java servlet app
servers to the correct proxy path.
Comments appreciated
(like you should have done it this way...)
cheers,
Graham
For more information about the Viatel Group, please visit www.viatel.com.
THIS MESSAGE IS INTENDED ONLY FOR THE USE OF THE INTENDED RECIPIENT TO WHICH IT IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, you are notified that any dissemination, distribution or copying of this e-mail is prohibited, and you should delete this e-mail from your system.
This message has been scanned for viruses and spam by Viatel MailControl.
