Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 43910 invoked from network); 22 Apr 2002 20:59:02 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 22 Apr 2002 20:59:02 -0000 Received: (qmail 5138 invoked by uid 97); 22 Apr 2002 20:59:01 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 5122 invoked by uid 97); 22 Apr 2002 20:59:01 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 5111 invoked from network); 22 Apr 2002 20:59:00 -0000 Date: Mon, 22 Apr 2002 15:58:59 -0500 From: Aravind Gottipati To: tomcat-dev@jakarta.apache.org Subject: patch to jk_uri_worker_map.c Message-ID: <20020422205859.GA28303@kc.rr.com> Reply-To: Aravind Gottipati Mail-Followup-To: tomcat-dev@jakarta.apache.org References: <20020422202233.1798.qmail@nagoya.betaversion.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020422202233.1798.qmail@nagoya.betaversion.org> User-Agent: Mutt/1.3.28i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I was looking at jk_uri_worker_map.c because my context url maps were not working like expected. I also saw a bunch of posts on the web about this problem. I looked at the source code and I am submitting a patch to this in a different mail. Basically, I am just extracting the sub string before you do the comparison, so that the match will work. For example the current code will not work with this If the JkMount is JkMount /servlet/* worker_name then a url like http://www.xxx.yyy.zzz/myproject/servlet/MyServlet will not match. Only urls like http://www.xxx.yyy.zzz/servlet/MyServlet will match. My patch will allow urls like the first one to work. I am searching the uri string for the uwr->context instead of doing an exact strncmp. I have tested this and it works on my setup. I am sending my patch in the next e-mail. Please let me know if you guys think I should change anything. Also as you guys can probably tell this is my first patch I am submitting to the list :-). What's the right way to get this patch in the source tree. I tried sending messages to tomcat-dev-info@jakarta.apache.org and tomcat-dev-faq@jakarta.apache.org and nothing useful came out of it. If this was a planned feature I apologise. Thank you, Aravind Gottipati -- Let me put it this way: today is going to be a learning experience -- Anonymous (seen on slashdot) -- To unsubscribe, e-mail: For additional commands, e-mail: