Bug#440597: libapache2-mod-jk: fix for #425836 breaks "normal" rewriting with tomcat

Veit Guna death at ruhries.org
Mon Sep 3 00:14:25 UTC 2007

Package: libapache2-mod-jk
Version: 1:1.2.18-3etch1
Severity: important

Did an apt-get upgrade this evening with the effect that my apache2 rewriting with mod-jk for
tomcat doesn't work out anymore. I'm using this simple rewriting rule:

RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(iurltoexcludefromtomcat|urltoexcludefromtomcat2)
RewriteRule ^/(.*) /mytomcatcontext/$1 [PT]

Which rewrites all access to /foo to /mytomcatcontext/foo. This doesn't work out anymore.
Instead of going to the /mytomcatcontext/foo, just /foo in tomcat is requested.

Took me a couple of hours to figure this out since _some_ packages changed regarding
apache2 :(...

Downgrading to 1.2.18-3 fixes the issue for me.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libapache2-mod-jk depends on:
ii  apache2                2.2.3-4+etch1     Next generation, scalable, extenda
ii  apache2-mpm-prefork [a 2.2.3-4+etch1     Traditional model for Apache HTTPD
ii  apache2.2-common       2.2.3-4+etch1     Next generation, scalable, extenda
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries

libapache2-mod-jk recommends no packages.

-- no debconf information

More information about the pkg-java-maintainers mailing list