Jarecsni János wrote:
> 
> Hi,
> 
> well a short explanation follows then.
> 
> Since we want to alias our dynamic resources (which are to be served by
> Tomcat+JBoss) in Apache we have to use mod_rewrite and mod_proxy.

Why are you not using mod_jk or mod_webapp?

> We need
> the proxy because the rewritten urls don't get sent to tomcat, Apache treats
> them as files. If we proxy those rewritten urls back to the same virtual
> host, they get sent to tomcat.
> 
> The only problem is that the webcontext is hardwired in the session cookie
> by Tomcat. And since the webcontext must be rewritten for the whole thing to
> work too, session cookies don't work anymore (the client doesn't send them
> back because of the different path).
> 
> The Sun RI sets the session cookie path to "/". That would work in our
> situation too.
> 
> Can I hope some sort of a remedy of this problem in a short time, what do
> you think?
> 
> Cheers & thanks.
> János
> 
> --
> Jarecsni, János
> MORGAN HILL CONSULTING, Internet Applications Unit
> mailto:[EMAIL PROTECTED]
> http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392
> 
> |-----Original Message-----
> |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> |Behalf Of jean-frederic clere
> |Sent: Friday, February 15, 2002 12:16 PM
> |To: Tomcat Developers List
> |Subject: Re: setting the path in the session cookie (Tomcat 402b)
> |
> |
> |Jarecsni János wrote:
> |>
> |> Hi,
> |>
> |> it seems that tomcat uses the "/contextname" path when creating
> |the cookie
> |> for the JSESSIONID. Since we use Apache in front of Tomcat and we use
> |> mod_rewrite with mod_proxy to provide aliasing of dynamic Java
> |resources, it
> |> is not working for us.
> |
> |You should explain a little more why you have to that (like you
> |have done it in
> |httpd-dev list).
> |
> |>
> |> We would like to be able to configure this path.
> |>
> |> Thanks in advance
> |> János
> |>
> |> --
> |> Jarecsni, János
> |> MORGAN HILL CONSULTING, Internet Applications Unit
> |> mailto:[EMAIL PROTECTED]
> |> http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392
> |>
> |> --
> |> To unsubscribe, e-mail:
> |<mailto:tomcat-dev-|[EMAIL PROTECTED]>
> |> For
> |additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> |
> |--
> |To unsubscribe, e-mail:
> |<mailto:tomcat-dev-|[EMAIL PROTECTED]>
> |For additional
> |commands, e-mail: <mailto:[EMAIL PROTECTED]>
> |
> |
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to