Re: Fix the cookie path with mod_jk

2011-04-22 Thread André Warnier
Yu Kikuchi wrote: ... > Now the issue is : who is setting the cookie path ? My application is setting the cookie path, so the most reasonable way to resolve this problem is fix my apps. One more question : do you actually have a problem right now with the cookie path ? Do you really see th

Re: Fix the cookie path with mod_jk

2011-04-22 Thread Yu Kikuchi
Hi All. I'm sorry that my response is late. I have examined about mod_rewrite. And I understood that mod_rewrite can't touch the response header. Thank you for the advices, Chris and Thomas. > Now the issue is : who is setting the cookie path ? My application is setting the cookie path, so the

Re: Fix the cookie path with mod_jk

2011-04-20 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi André, On 04/20/2011 12:53 AM, André Warnier wrote: >> Fixing/altering outgoing (response) headers is beyond the >> functionality of mod_rewrite. The other parts work with mod_rewrite, >> but mod_headers (with its edit functionality) is an importan

Re: Fix the cookie path with mod_jk

2011-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/19/2011 6:53 PM, André Warnier wrote: > Getting back to the original issue, Thomas seems to be right when he > says that if the cookie path is set to /foo, the browser will return it > also for URLs such as /foobar and /foofoo. > From the

Re: Fix the cookie path with mod_jk

2011-04-19 Thread André Warnier
Thomas Freitag wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Chris, On 18.04.11 um 16:42, Christopher Schultz wrote: Thomas, On 4/18/2011 3:34 AM, Thomas Freitag wrote: Hi Yu On 18.04.11 um 16:19, Yu Kikuchi wrote: Hello All. My Environment of Application Server is: Apache 2.2.3,

Re: Fix the cookie path with mod_jk

2011-04-19 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Chris, On 18.04.11 um 16:42, Christopher Schultz wrote: > Thomas, > > On 4/18/2011 3:34 AM, Thomas Freitag wrote: > > Hi Yu > > > > On 18.04.11 um 16:19, Yu Kikuchi wrote: > >> Hello All. > > > >> My Environment of Application Server is: > >> Ap

Re: Fix the cookie path with mod_jk

2011-04-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yu (Kikuchi?), On 4/18/2011 9:04 PM, Yu Kikuchi wrote: > Sorry. The point of view is very important but I didn't mention about it. > > To be exact, I want to suffix slash "/" to the cookie path. > > From) Set-Cookie JSESSIONID=794CC361C468123CA1D187

Re: Fix the cookie path with mod_jk

2011-04-18 Thread Yu Kikuchi
André, Thank you for your reply. > So before I start down that path, I usually have a really good look at /why/ I need to do that, and if I cannot cure the > original disease, rather than the symptom. Sorry. The point of view is very important but I didn't mention about it. To be exact, I wan

Re: Fix the cookie path with mod_jk

2011-04-18 Thread Yu Kikuchi
Thomas, Chris Thanks for your reply. > Using mod_rewrite will probably work with previous versions. Just > speculating, here. I'll think about it and consult mod_rewrite's documentation. Best regards, (2011/04/19 5:42), Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: Fix the cookie path with mod_jk

2011-04-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 4/18/2011 3:34 AM, Thomas Freitag wrote: > Hi Yu > > On 18.04.11 um 16:19, Yu Kikuchi wrote: >> Hello All. > >> My Environment of Application Server is: >> Apache 2.2.3, mod_jk 1.2.30, JBoss 5.0.0GA > >> I want to rewrite the Path contai

Re: Fix the cookie path with mod_jk

2011-04-18 Thread André Warnier
Yu Kikuchi wrote: Hello All. My Environment of Application Server is: Apache 2.2.3, mod_jk 1.2.30, JBoss 5.0.0GA I want to rewrite the Path contained in cookies. For example; From) Set-Cookie JSESSIONID=794CC361C468123CA1D187B9C5F5FAA5; Path=/foo To ) Set-Cookie JSESSIONID=794CC361C468123CA1D1

Re: Fix the cookie path with mod_jk

2011-04-18 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Yu On 18.04.11 um 16:19, Yu Kikuchi wrote: > Hello All. > > My Environment of Application Server is: > Apache 2.2.3, mod_jk 1.2.30, JBoss 5.0.0GA > > I want to rewrite the Path contained in cookies. For example; > From) Set-Cookie JSESSIONID=794C

Fix the cookie path with mod_jk

2011-04-18 Thread Yu Kikuchi
Hello All. My Environment of Application Server is: Apache 2.2.3, mod_jk 1.2.30, JBoss 5.0.0GA I want to rewrite the Path contained in cookies. For example; From) Set-Cookie JSESSIONID=794CC361C468123CA1D187B9C5F5FAA5; Path=/foo To ) Set-Cookie JSESSIONID=794CC361C468123CA1D187B9C5F5FAA5; Path=/