On Thu, October 2, 2003 at 8:52 am, David Godfrey sent the following
>
> Looking for some help with the following please....
>
> I have Apache HTTP Server set up to server three virtual hosts. Two of
> these
> I want to be serving Tomcat based content, the third serves purely static
> content. I have this working of a fashion, as I have Jkmount directives
> inside the two virtualhost sections of httpd.conf that map to the
> virtualhosts that will server tomcat based content. The relevant section
> of httpd.conf looks like this....
>
> So what I now have is three working virtual hosts, with both VH2 and VH3
> redirected to tomcat. What I actually need is for VH2 to redirect to a
> webapp named "VH2" running inside tomcat, and likewise for VH3 to redirect
> to a webapp named "VH3". At the moment I need to put VH2/VH2 and VH3/VH3
> into my browser for this to work. Both webapps are running in the same
> instance of Tomcat.
>
> Hope I've explained this in an understandable manner, some help would be
> appreciated.

Are both webapps running under the same Host in Tomcat?  For example, on
Tomcat VH2 is running under context /VH2 and VH3 is runder /VH3?  If so
you probably want to setup virtualhosts in Tomcat and map the webapps to
the root context instead of trying to redirect things to the proper
directory.  That should simply the configuration a good deal.

-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to