tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <>
Subject Re: Tomcat jsessionid and mod_rewrite
Date Thu, 30 Aug 2007 09:27:33 GMT
Hi Peter,

Peter Stavrinides wrote:
> Hi all
> My question involves Tomcat in conjunction with Apache and mod_rewrite. 
> Tomcat appends a jsessionid to the first request, but not to subsequent 
> requests, which is normal behaviour. When I access my Servlet directly 
> through Tomcat that is precisely what I get.
> But when I redirect requests through Apache and mod_rewrite for some 
> reason the session id is being appended to every subsequent request. I 
> can remove this of course using a filter, but before I do so, can anyone 
> explain to me why this is happening?

What do you mean by "redirect requests through"? Are you using mod_proxy 
or mod_jk? You should describe your setup (abstract, versions used and 
relevant parts of the configuration).

Is your webapp using a session cookie (JSESSIONID)?

> Thanks
> Peter



To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message