This is supposed to be fixed in the upcoming mod_jk 1.2.5. It's still being evaluated, but you can get the early-access from http://cvs.apache.org/~glenn/jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz.
"Karsten Dello" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > dear list, > > i have a problem with the conjunctional use of mod_rewrite and mod_jk. > > i set up apache 2.0.40 and tomcat 4.1.27 and compiled mod_jk from source. > i made them use the same webroot, > and processing of jsp by tomcat works great as long as mod_rewrite is not involved. > > but i have rewrite-rules which transform "static-looking" html-urls into parameterized jsp-urls. > > in these cases, mod_rewrite seems to work, but the jsp isn't processed by > tomcat, > and instead its source is send to the client. > > an example: a client requests the url /fb-publikationen/60326.html > which is supposed to be transformed to /pd/viewdetail.jsp?db=60326&style=1, > and afterwards to be processed by tomcat. > > the affected rewrite-rule is > RewriteRule ^/fb-publikationen/([0-9]+).html$ /pd/viewdetail.jsp?db=$1&style=1 [PT] > > mod_rewite's log says: > 160.45.94.239 - - [06/Aug/2003:03:38:19 +0200] > [WEBSERVER/sid#8104640][rid#81ea9d8/initial] (2) init rewrite engine with requested uri /fb-publikationen/60326.html > 160.45.94.239 - - [06/Aug/2003:03:38:19 +0200] > [WEBSERVER/sid#8104640][rid#81ea9d8/initial] (2) rewrite/fb-publikationen/60326.html -> /pd/viewdetail.jsp?db=60326&style=1 > 160.45.94.239 - - [06/Aug/2003:03:38:19 +0200] > [WEBSERVER/sid#8104640][rid#81ea9d8/initial] (2) forcing '/pd/viewdetail.jsp' to get passed through to next API URI-to-filename handler > > mod_jk's log says: > [Wed Aug 06 03:38:19 2003] [jk_uri_worker_map.c (501)]: Attempting to map URI '/fb-publikationen/60326.html' > [Wed Aug 06 03:38:19 2003] [jk_uri_worker_map.c (623)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match > > so it seems that the url is rewritten, > but after that it is not send to tomcat again, > as i can't find the transformed jsp-url in the mod_jk-log. > > is this a conceptual problem, > or a configuration error? > > any help would be appreciated, > > best regards > > karsten dello --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
