On 05.05.2009 14:38, christophe.dumo...@ifma.fr wrote:
> Hello to the list,
> 
> Here is my context :
> My apache2 server must provide a default access (http://servername/*) to
> a default (Tomcat) webapps ROOT, so I configure mod_jk in apache2 like
> this :  JkMount / * /home/tomcat/webapps/ROOT, this works fine.

This line doesn't really make sense. So how do you configure it?

> BUT before I have to use mod_rewrite to redirect some old google'
> indexed URLs to other new static HTML content.

That's the problem with the root context. It grabs everything. If you
have a way to express how those old URLs look like, you can use
JkUnmount or André's trick to exclude those URLs from JK forwarding.

> My problem: mod_jk always redirect IN FIRST ANYWAY Any request to the
> ROOT Webapps (Tomcat jkmount /*).

It does not "redirect" (a redirect send a 30x response back to the
browser containing a new URL the browser should retrieve instead). It
does forward the request to Tomcat and sends back the Tomcat response to
the browser, which is completely transparent for the browser.

> Here is my issue : How to get Mod_jk precedence over mod_rewrite in
> Apache2 process ?
> 
> Any help would be appreciate ...!
> thanks,
> Christophe Dumonet.

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to