[Tfug] Tomcat mod_jk2 and userdirs

- Xian mchugh19 at yahoo.com
Thu Jun 24 09:53:23 MST 2004


Howdy everyone

I can't seem to be able to get tomcat5, apache2,
mod_jk2 and mod_userdir working together entirely.
Everything works fine for the most part as users can
serve jsp pages from their directories and tomcat 
recognizes each of their contexts. But I cannot get 
the uri host/~user/servlet/HelloWorld passed to tomcat
with 2 wildcards (*).

Here is an example of what the problem is 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:/~username/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 though it cannot deal with 2 wildcards
if one is trailing the uri


Anybody have any ideas or know what I am doing wrong?
Thanks,
Christian


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


More information about the tfug mailing list