Bug 67839 - www/mod_jk2-apache2 2.0.2: uri /*.jsp matches all subdirs
Summary: www/mod_jk2-apache2 2.0.2: uri /*.jsp matches all subdirs
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Palle Girgensohn
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-11 18:40 UTC by Chris
Modified: 2005-07-27 03:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2004-06-11 18:40:25 UTC
The following lines in /usr/local/etc/apache2/workers2.properties cause
all requests to subdirectories to be forwarded to Tomcat. But it only has
to forward al requests for .jsp files to be forwarden.

[uri:/*.jsp]
group=ajp13:localhost:8009

How-To-Repeat: Use the mentioned lines above in your /usr/local/etc/apache2/workers2.properties
file and request some subdirectories.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-06-30 06:09:54 UTC
Responsible Changed
From-To: freebsd-www->freebsd-ports-bugs

This is a ports PR.  www is reserved for PRs about the FreeBSD web 
pages themselves. 

Also, please remember to Cc: the maintainer of ports PRs when you 
use send-pr.  Thanks.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-07-03 14:45:02 UTC
State Changed
From-To: open->feedback

To the maintainer: can you confirm this problem?
Comment 3 Volker Stolz freebsd_committer freebsd_triage 2004-07-23 14:51:43 UTC
Can you please provide a patch or what the entry should look like?

Note to the maintainer:
The do-install-target of www/mod_jk2 looks fishy to me: Shouldn't this  
also be executed when installing the package?

Volker
Comment 4 Palle Girgensohn 2004-07-24 01:08:00 UTC
--On fredag, juli 23, 2004 15.51.43 +0200 Volker Stolz <vs@freebsd.org> 
wrote:

> Can you please provide a patch or what the entry should look like?
>
> Note to the maintainer:
> The do-install-target of www/mod_jk2 looks fishy to me: Shouldn't this
> also be executed when installing the package?

Well, yeah, but I think it is done. See the @exec tag...?

$ cat pkg-plist
libexec/apache%%APACHE2%%/mod_jk2.so
@exec %D/sbin/apxs -e -A -n jk2 %f
@unexec %D/sbin/apxs -e -A -n jk2 %f
Comment 5 Palle Girgensohn 2004-07-24 02:03:17 UTC
Hi.

I doubt that the originator will read this, due to the mail address 
specified, but anyway, this is probably not FreeBSD specific, and anyway, I 
would not recommend using the workers2.properties file to set this kind of 
things. Instead, use apache's config stuff. See 
<http://jakarta.apache.org/tomcat/connectors-doc/jk2/jk2/configweb.html#Native%20server%20configuration>

Regards,
Palle
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2004-12-07 09:10:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->girgen

Maintainer is now committer, so it's his problem now :-)
Comment 7 Palle Girgensohn freebsd_committer freebsd_triage 2005-07-27 03:00:03 UTC
State Changed
From-To: feedback->closed

Updated to 2.0.4. Problems went away.