tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Goss <mg...@rtci.com>
Subject Re: Apache getting confused by encoded jsessionid's (404 Not Found)
Date Wed, 26 Jul 2000 13:45:46 GMT
Thanks Craig,
Sorry about that Aleksey. Originally I thought you were hard coding the sessionID's in the
URL, thus my mistake.
Matt

"Craig R. McClanahan" wrote:

> Matt Goss wrote:
>
> > Aleksey,
> > your problem is this:
> > ";jsessionid=XXX"
> > needs to be this:
> > "?jsessionid=XXX"
> > hope this helps,
> > Matt Goss
> >
>
> This advice is not correct.
>
> For servlet containers that conform to the servlet API version 2.2 (including
> Tomcat), the semicolon is the character required in the spec.  The session id
> is encoded as a *path* parameter, not a *query* parameter.
>
> In order to make this work with Apache, you will need to enable the
> MOD_REWRITE module to rewrite the URI in a fashion that Apache knows how to
> forward to Tomcat.  Detailed instructions for this (and answers for many other
> questions about Tomcat) can be found in the FAQ-O-MATIC at
> <http://jakarta.apache.org/faq/faqindex.html>.
>
> The detailed link to this particular answer is:
>
> http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/12/topic_id/43/question_id/329
>
> (or search for "url rewriting" using the search engine).
>
> Craig McClanahan

Mime
View raw message