If you read carefuly my email you will notice that  its different from what
you tried and thats why it didnt work.

Sent from my phone

On Feb 24, 2011 4:55 PM, "James Godrej" <jamesgod...@yahoo.in> wrote:

Hi Igor,
thanks for message I had tried.I just came across a trick which did the job.
I had
hat I did to get it working was deleted

/var/lib/tomcat6/webapps/ROOT
and renamed my application

/var/lib/tomcat6/webapps/olat
to

/var/lib/tomcat6/webapps/ROOT
and removed the olat.war from

/var/lib/tomcat6/webapps/
then restarted tomcat6

/etc/init.d/tomcat6 restart

and I could see auto redirection happening.
Here I would like to mention I did not changed the original vhost which I
posted in my first question and ProxyPass /olat ajp://192.168.1.5:8009/olat
had not worked.But this trick which I mentioned above did the job.Mentioning
here so that it helps some one else.
------------------------------
*From:* Igor Cicimov <icici...@gmail.com>
*To:* users@httpd.apache.org
*Sent:* Thu, 24 February, 2011 3:32:37 AM
*Subject:* Re: [users@httpd] how to set auto redirection in apache with
tomcat

Does this work?        ProxyPass / ajp://192.168.1.19:8009/olat
 ProxyPassReverse / ajp://19...

Reply via email to