tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42038] - JK uriworkermap ROOT mapping causes non-virtual exclusions to be ignored
Date Tue, 10 Apr 2007 00:12:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42038>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42038


gears@umich.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Native:JK                   |Catalina
            Product|Tomcat 5                    |Tomcat 6
            Summary|JK uriworkermap ROOT mapping|JK uriworkermap ROOT mapping
                   |causes exclusions to be     |causes non-virtual
                   |ignored                     |exclusions to be ignored
   Target Milestone|---                         |default
            Version|5.0.28                      |6.0.0




------- Additional Comments From gears@umich.edu  2007-04-09 17:12 -------
On IIS, if you have a root context rule, you must specify the virtual host for
any exclusion rules for them to correctly identify a no match. This occurs in jk
1.2.20 and 1.2.21. This appears to be because jk_isapi_plugin.c (line 870-875 in
1.2.21) checks for successful map_uri_to_worker (with is always true when there
is a root context rule) with the Virtual Host Redirection before attempting a
Default redirection map_uri_to_worker. 

For example a uriworkermap.properties file:

/*=v7CDALiveWorker
#Exclude static files (take turns commenting out the following for testing)
!/lsa-cmsdev1.lsa.adsroot.itcs.umich.edu/UMICH/*=v7CDALiveWorker
!/UMICH/*=v7CDALiveWorker

If you omit the virtual host line, then it fails to find the non-virtual
exclusion rule (This means it does not successfully find a  wildchar no match).

Without the virtual host line, it compares:
jk_uri_worker_map.c (161): wildchar_match(str, exp)  for
/lsa-cmsdev1.lsa.adsroot.itcs.umich.edu/UMICH/MichInWash/Home/For Students/Fall
Application Information/MIWF07app.pdf compared to /UMICH/*

With only the virtual host line, it compares:
jk_uri_worker_map.c (161):wildchar_match(str, exp)  for
/lsa-cmsdev1.lsa.adsroot.itcs.umich.edu/UMICH/MichInWash/Home/For Students/Fall
Application Information/MIWF07app.pdf compared to
/lsa-cmsdev1.lsa.adsroot.itcs.umich.edu/UMICH/*




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message