You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Glen Ezkovich <gl...@hard-bop.com> on 2004/10/03 23:55:10 UTC

Tomcat, mod_jk, Apache and virtual host

We have set up Tomcat and Apache using mod_jk and are using virtual 
hosting on both. We can throw a jsp page into our default directory and 
it displays fine so we know things work.
We have serveral servlets to deploy for each virtual host and we'd 
rather not make entries in the main server.xml for each contex. We'd 
also like to be able to set a default servlet for each virtual host.  
Is there a way to do this in each appBase?

Glen Ezkovich
HardBop Consulting
glen at hard-bop.com
http://www.hard-bop.com - new and improved site coming soon



A Proverb for Paranoids:
"If they can get you asking the wrong questions, they don't have to 
worry about answers."
- Thomas Pynchon Gravity's Rainbow


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat, mod_jk, Apache and virtual host

Posted by Glen Ezkovich <gl...@hard-bop.com>.
Thanks Alex,

Its a good resource but, we were hoping to be able to define the  
context some where besides the server.xml, such as in the appBase. I've  
run across mentions of using xml fragments for this, but as yet haven't  
been able to find out much.

If anyone knows about how this can be done, I'd appreciate hearing  
about it.

On Oct 6, 2004, at 6:12 AM, Alex wrote:

>
> Will this help?
>
> http://www.mail-archive.com/tomcat-user@jakarta.apache.org/ 
> msg136432.html
>
>
> On Sun, 3 Oct 2004, Glen Ezkovich wrote:
>
>> Date: Sun, 3 Oct 2004 16:55:10 -0500
>> From: Glen Ezkovich <gl...@hard-bop.com>
>> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
>> To: Tomcat Users List <to...@jakarta.apache.org>
>> Subject: Tomcat, mod_jk, Apache and virtual host
>>
>> We have set up Tomcat and Apache using mod_jk and are using virtual
>> hosting on both. We can throw a jsp page into our default directory  
>> and
>> it displays fine so we know things work.
>> We have serveral servlets to deploy for each virtual host and we'd
>> rather not make entries in the main server.xml for each contex. We'd
>> also like to be able to set a default servlet for each virtual host.
>> Is there a way to do this in each appBase?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>

Glen Ezkovich
HardBop Consulting
glen at hard-bop.com
http://www.hard-bop.com - new and improved site coming soon



A Proverb for Paranoids:
"If they can get you asking the wrong questions, they don't have to  
worry about answers."
- Thomas Pynchon Gravity's Rainbow


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat, mod_jk, Apache and virtual host

Posted by Alex <al...@squigly.net>.
Will this help?

http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg136432.html


On Sun, 3 Oct 2004, Glen Ezkovich wrote:

> Date: Sun, 3 Oct 2004 16:55:10 -0500
> From: Glen Ezkovich <gl...@hard-bop.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: Tomcat, mod_jk, Apache and virtual host
>
> We have set up Tomcat and Apache using mod_jk and are using virtual
> hosting on both. We can throw a jsp page into our default directory and
> it displays fine so we know things work.
> We have serveral servlets to deploy for each virtual host and we'd
> rather not make entries in the main server.xml for each contex. We'd
> also like to be able to set a default servlet for each virtual host.
> Is there a way to do this in each appBase?


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org