I have Virtual Hosts defined in Apache for each domain. I want to map the
domain to a context in Tomcat. For instance I would like mysite.com to map
to /mysite_com in Tomcat. Would it be something like: 

<VirtualHost *:80>
        ServerName mysite.com
        RewriteRule ^/(.*)$ /mysite_com/$1 [PT]
        JkMount /mysite_com/* worker1
</VirtualHost>

Is there a better way?

Thanks Gordon
-- 
View this message in context: 
http://www.nabble.com/How-to-Map-domain-to-a-context-using-Mod_jk-tp25762921p25762921.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to