Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

using mod_rewrite and mod_jk  RSS feed

doug parker
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a java web application on a apache2 + mod_jk1.2 + tomcat5.5 combo. I want a friendly url for my webapp search. I have that correctly done with mod_rewite - i see it in the log. issue is, it is trying to serve the file from htdocs instead of letting mod_jk handle it.

the only way i have gotten it to work is to use the [R] flag for my rewrite rule. i dont want that because the user sees that convoluted query string url instead of the friendly url. also tried [PT] but mod_jk didnt pick up the request.

does mod_jk and mod_rewrite work together?

I see the is a servlet filter for url rewriting. i hate to go down that route!!!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!