Bug 57405 - Don't warn about invalid URI if URI is "*"
Summary: Don't warn about invalid URI if URI is "*"
Status: RESOLVED DUPLICATE of bug 50511
Alias: None
Product: Tomcat Connectors
Classification: Unclassified
Component: mod_jk (show other bugs)
Version: 1.2.40
Hardware: PC Mac OS X 10.1
: P2 minor (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-30 14:35 UTC by Christopher Schultz
Modified: 2014-12-30 15:07 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Schultz 2014-12-30 14:35:34 UTC
From an old complaint that is still plaguing us 4 years later:
http://markmail.org/thread/o3iiojm427tmfssd

Certain software and/or hardware probe for availability using a request like this:

    OPTIONS * HTTP/1.1

When mod_jk checks to see if this is a URI to handle, it complains with a WARN-level message in mod_jk.log:

[Tue Dec 30 14:33:27.141 2014] [17353:140224749586432] [warn] map_uri_to_worker_ext::jk_uri_worker_map.c (1096): Uri * is invalid. Uri must start with /

Since this is

  a) A valid URI / request
  b) Not one to be handled by mod_jk

therefore mod_jk should not complain.

As a corollary, it ought to be possible to "JkMount *" or something similar so that "OPTIONS *" requests can be forwarded to Tomcat explicitly.
Comment 1 Rainer Jung 2014-12-30 15:07:06 UTC
The warning was toned down to a debug message in this case.
Being able to forward an "OPTIONS *" would be a separate enhancement request. Not sure how to implement that (because mounts currently don't check http method).

*** This bug has been marked as a duplicate of bug 50511 ***