Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

httpd2 + tomcat5.5.9 problem with mod_rewrite

 
Pete Neu
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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/mod_rewrite.so
RewriteEngine on
RewriteRule ^tricky.html$ post.html

LoadModule jk_module /usr/lib/apache2/mod_jk.so
..
JkMount /* worker1

Is there anything wrong?

cheers
Pete
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic