I have a site
http://mysite.com
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
Code:
<VirtualHost *:80 >
ServerName mysite.com
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://mysite.com/olat
what I want to do is when some one opens
http://mysite.com
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 achived?
The computer where OLAT (
http://mysite.com/olat) is hosted is physically different from where the above apache2 configuration is.