> From: gpike [mailto:gop...@gmail.com]
> Subject: RE: How to Map domain to a context using Mod_jk
>
> I thought a restart was needed because VirtualHost config is in the
> server.xml.
Tomcat has APIs for pretty much everything, and these are used by the parser
for server.xm
:
>
>> From: gpike [mailto:gop...@gmail.com]
>> Subject: Re: How to Map domain to a context using Mod_jk
>>
>> In tomcat adding a VirtualHost would require a restart.
>
> Not true; use the supplied host-manager (not manager) webapp to manipulate
> entries on the f
> From: gpike [mailto:gop...@gmail.com]
> Subject: Re: How to Map domain to a context using Mod_jk
>
> In tomcat adding a VirtualHost would require a restart.
Not true; use the supplied host-manager (not manager) webapp to manipulate
entries on the fly. The only caveat is that
chieve the above with Tomcat?
>
> Yes: define a default or ROOT context for each host. Tomcat docs site
> has plenty of info on virtual hosts and setting up web application
> contexts.
>
> p
>
>> Thanks Gordon
>> --
>> View this message in context:
>>
On 06.10.2009 06:56, gpike wrote:
>
> 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:
>
>
> ServerName mysite.com
> Rewr
f info on virtual hosts and setting up web application
contexts.
p
> Thanks Gordon
> --
> View this message in context:
> http://www.nabble.com/How-to-Map-domain-to-a-context-using-Mod_jk-tp25762921p25762921.html
> Sent
]
JkMount /mysite_com/* worker1
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