Bug 57405

Summary: Don't warn about invalid URI if URI is "*"
Product: Tomcat Connectors Reporter: Christopher Schultz <chris>
Component: mod_jkAssignee: Tomcat Developers Mailing List <dev>
Severity: minor    
Priority: P2    
Version: 1.2.40   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X 10.1   

Description Christopher Schultz 2014-12-30 14:35:34 UTC
From an old complaint that is still plaguing us 4 years later:

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 ***