httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] how to set auto redirection in apache with tomcat
Date Wed, 23 Feb 2011 22:02:37 GMT
Does this work?

       ProxyPass / ajp://192.168.1.19:8009/olat
       ProxyPassReverse / ajp://192.168.1.19:8009/olat

Also not sure if "ProxyPreserveHost On" has eny meaning in case of reverse
proxy but not sure and don't have time now to double check :) Maybe someone
else can confirm ...



On Thu, Feb 24, 2011 at 8:18 AM, James Godrej <jamesgodrej@yahoo.in> wrote:

>
>
> I have a site http://social.openitup.in
> right now what you are seeing is a default Tomcat6 page.
> I am using mod_ajp as a front end and Apache vhost configuration for same
> is
>
> <VirtualHost *:80 >
>
>        ServerName social.openitup.in
>        ServerAdmin webmaster@localhost
>
>        ProxyRequests off
>        <Proxy *>
>        Order deny,allow
>        Allow from all
>        </Proxy>
>        ProxyPreserveHost On
>
>        ProxyPass / ajp://192.168.1.19:8009/
>        ProxyPassReverse / ajp://192.168.1.19:8009/
>
>
> </VirtualHost>
>
>
>
>
> How ever I have an application running on it
> http://social.openitup.in/olat
> what I want to do is when some one opens
> http://social.openitup.in
> then rather than seeing Tomcat6 home page from
> /var/lib/tomcat6/webapps/ROOT/index.html
> the person is  redirected to olat application which is in
> /var/lib/tomcat6/webapps/olat
> how can this be achieved?
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message