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=29685>.
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=29685

jk2 worker does not work with multiple wildcards in the expression if one is trailing

           Summary: jk2 worker does not work with multiple wildcards in the
                    expression if one is trailing
           Product: Tomcat 4
           Version: 4.1.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote JK 2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


For this example, I am trying to get everything from a location within a users 
public_html to pass over to tomcat. Such as;

www.example.tld/~anyuser/servlet/HelloWorld

Tested with both apache configurations;
Directory (<Directory "/home/*/public_html">) and mod_userdir (UserDir 
public_html)

Here is an example of the problem using workers2.properties;

If I try to do what I think should work;

[uri:/~*/servlet/*]
info=UserDir worker=ajp13:localhost:8009

It will not pass to tomcat and I recieve an apache 404 error instead of
the servlet defined by the invoker (or a tomcat 404 error if the invoker
didn't exist)


If I try;

[uri:/~user/servlet/*]
info=UserDir worker=ajp13:localhost:8009

or

[uri:/~*/servlet/HelloWorld]
info=UserDir worker=ajp13:localhost:8009

It has no problem and everything works as it should, but it seems as
thou it cannot deal 2 wildcards if one is trailing the uri.

However, if a non-existant username is used (~junkuser/servlet/anything). 
There seems to be no problem.

Please confirm as I have not been able get any different results, I am also 
new to bug reporting guidelines so excuse my bad form.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to