aspose file tools*
The moose likes Tomcat and the fly likes using mod_rewrite and mod_jk Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "using mod_rewrite and mod_jk " Watch "using mod_rewrite and mod_jk " New topic
Author

using mod_rewrite and mod_jk

doug parker
Ranch Hand

Joined: Oct 26, 2004
Posts: 30
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!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using mod_rewrite and mod_jk