You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/04/06 16:40:07 UTC
DO NOT REPLY [Bug 34330] New: -
uriworkermap redirections do not work properly
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=34330>.
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=34330
Summary: uriworkermap redirections do not work properly
Product: Tomcat 5
Version: 5.0.0
Platform: Other
OS/Version: Windows Server 2003
Status: NEW
Severity: critical
Priority: P2
Component: Connector:AJP
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: nags@bsg.co.uk
The following are my uriworkermap.properties:
/supplement/*=supplement
/main/*=main
/*/=main
What this does is:
- any URL with 'supplement' goes to the tomcat instance serving supplement pages
- any URL with 'main' goes to the main instance
- any URL with '/' ending the query string goes to the main instance.
The above set of rules does not fully satisfy all the requirements.
What we additionally need is a default redirection.. if none of the
3 mappings, the request should be redirected to the 'main' worker as well.
I thought this could be done my modifying the last line of the uriworkermap
to this:
/*=main
But when this is done, all requests go to the main tomcat instance.
The /supplement/ is completelely ignored.
Also, having a trailing '/' to make something work will not satisfy
all the URLs that might come to the site.
For instance the following URL will work:
http://mysite.com/10.1108/21992840238402/
but this will not
http://mysite/10.1108/21992840238402
This is quite restrictive. And I feel this is a bug in the latest release of
the isapi redirector. ( Version 1.2.10)
[Note: This functionality was available in the mod-jk2 version, but now that
that is de-supported, we are trying to migrate to JK.. but are coming up
against this limitation].
Any help would be greatly appreciated.
Best Regards,
Nags.
--
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org