my dog learned polymorphism
The moose likes Tomcat and the fly likes httpd2 + tomcat5.5.9 problem with mod_rewrite Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "httpd2 + tomcat5.5.9 problem with mod_rewrite" Watch "httpd2 + tomcat5.5.9 problem with mod_rewrite" New topic

httpd2 + tomcat5.5.9 problem with mod_rewrite

Pete Neu
Ranch Hand

Joined: Feb 18, 2005
Posts: 86

I' using mod_jk to connect tomcat to httpd2. This works perfectly. Now I try to manipulate the URL's which I map to httpd from tomcat. But the rules seem not to affect the response I get. Does this not work or am I doing something wrong.

I my httpd config I have this entry:

LoadModule rewrite_module /usr/lib/apache2/
RewriteEngine on
RewriteRule ^tricky.html$ post.html

LoadModule jk_module /usr/lib/apache2/
JkMount /* worker1

Is there anything wrong?

I agree. Here's the link:
subject: httpd2 + tomcat5.5.9 problem with mod_rewrite
It's not a secret anymore!