From issues at jboss.org Wed Nov 19 13:28:39 2014 Content-Type: multipart/mixed; boundary="===============1052092139512719528==" MIME-Version: 1.0 From: Michal Babacek (JIRA) To: mod_cluster-issues at lists.jboss.org Subject: [mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-443) mod_cluster doesn't recognize ; as a proper context delimiter causing 404s on requests with URL jsessionids Date: Wed, 19 Nov 2014 13:28:39 -0500 Message-ID: In-Reply-To: JIRA.12557574.1416257176000@Atlassian.JIRA --===============1052092139512719528== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/MODCLUSTER-443?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D130212= 99#comment-13021299 ] = Michal Babacek commented on MODCLUSTER-443: ------------------------------------------- Well, the problem was located exactly between the chair and my keyboard. I'= m sorry. {quote} http://192.168.122.172:8080/tses;jsessionid=3DQq7acr8AUL+212-o9bDcgtTJ.jbos= s-eap-6.4 {quote} The test executed with _worker's_ port, not the balancer's one. With this f= ixed, indeed, now it doesn't work: Works with EAP worker: {code} curl 'http://192.168.122.172:8080/tses;jsessionid=3DHfYUfMkbXbaeKZ+SpgQbVqd= 5.jboss-eap-6.4' = Session Test

Server info

{code} Doesn't work via balancer: {code} curl 'http://192.168.122.172:8847/tses;jsessionid=3DHfYUfMkbXbaeKZ+SpgQbVqd= 5.jboss-eap-6.4' = 404 Not Found

Not Found

The requested URL /tses;jsessionid=3DHfYUfMkbXbaeKZ+SpgQbVqd5.jboss-eap-= 6.4 was not found on this server.


Apache/2.2.26 (Red Hat Enterprise Web Server) Server at 192.168.12= 2.172 Port 8847
{code} The test is amended and added to the continuous QA cycle now. > mod_cluster doesn't recognize ; as a proper context delimiter causing 404= s on requests with URL jsessionids > -------------------------------------------------------------------------= ---------------------------------- > > Key: MODCLUSTER-443 > URL: https://issues.jboss.org/browse/MODCLUSTER-443 > Project: mod_cluster > Issue Type: Bug > Components: Native (httpd modules) > Affects Versions: 1.2.9.Final, 1.3.1.Alpha2 > Reporter: Aaron Ogburn > Assignee: Jean-Frederic Clere > > This is similar to MODCLUSTER-328, but in regards to ; instead of ?. = > mod_cluster does not recognize ; as a delimiter when checking the request= context. Thus with no trailing slash on index page requests, it treats ;js= essionid as part of the request context and tries to check the balancer for= a deployed context of /helloworld;jsessionid=3D..., which doesn't exist an= d 404s. Adding the trailing slash, mod_cluster can properly delimit this an= d then sees the context (so /helloworld/;jsessionid=3D... works just fine). -- This message was sent by Atlassian JIRA (v6.3.8#6338) --===============1052092139512719528==--