Re: mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread srinivas yelamanchili
Neven, you are the MAN !!! It worked ! I uncommented the below line in httpd.conf: #LoadModule rewrite_module modules/mod_rewrite.so and added: RewriteEngine on RewriteRule ^/AppXyz(.*) /App$1 [R,L] Thank you, -sri On Friday, November 22, 2013 3:01 PM, Neven Cvetkovic wrote:

Re: mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread Neven Cvetkovic
On Fri, Nov 22, 2013 at 2:49 PM, srinivas yelamanchili wrote: > I tried each of these lines and they don't work: > Redirect /AppXyz /App > Alias /AppXyz /App > > The apache access_log file shows: > GET /AppXyz/javascript/mojo/js/source/... > > Shouldn't it be 'App' instead of 'AppXyz' ? > > Sri, u

Re: mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread srinivas yelamanchili
I tried each of these lines and they don't work: Redirect /AppXyz /App Alias /AppXyz /App The apache access_log file shows: GET /AppXyz/javascript/mojo/js/source/... Shouldn't it be 'App' instead of 'AppXyz' ? Thanks, -sri On Friday, November 22, 2013 8:46 AM, srinivas yelamanchili wrote:

Re: mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread srinivas yelamanchili
Thanks Neven, I will try that and also the 'Alias' http://httpd.apache.org/docs/current/mod/mod_alias.html On Friday, November 22, 2013 8:21 AM, Neven Cvetkovic wrote: On Fri, Nov 22, 2013 at 7:56 AM, srinivas yelamanchili wrote: > So today Apache requests for /App and /AppXyz go to Tom

Re: mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread Neven Cvetkovic
On Fri, Nov 22, 2013 at 7:56 AM, srinivas yelamanchili wrote: > So today Apache requests for /App and /AppXyz go to Tomcat /App and > /AppXyz respectively. > > Now I want to change this redirection so all Apache requests of type /App* > go to Tomcat /App only (and not AppXyz) > How to accomplish t

mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread srinivas yelamanchili
Hi, my tomcat webapps has folders App and AppXyz and apache mod_jk.conf has the line: JkMount /App* worker1 So today Apache requests for /App and /AppXyz go to Tomcat /App and /AppXyz respectively. Now I want to change this redirection so all Apache requests of type /App* go to Tomcat /App onl