tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <>
Subject Re: Virtual Hosts
Date Wed, 15 Apr 2009 15:07:33 GMT
On Wed, Apr 15, 2009 at 7:44 AM, gisrob <> wrote:
> Can anybody offer any guidance or advice on how I can set up some virtual
> hosts for my application that has multiple skins.
> I want to be able to go to http://flavour1 instead of having to type in
> http://longhostname/service/program.jsp?skins=flavour1, and similar for
> flavour2, flavour3, etc..
> All the documentation seems to point to virtual directories, and when I have
> tried to use the syntax detailed here

If you followed the above -- showing the relevant part of server.xml
would probably be helpful -- and entered a url like

in your browser,

> Tomcat tries to open a directory called /service/program.jsp?skins=flavour1/

erm, well, that sounds highly unlikely.

> How do I phrase the context syntax correctly?

No idea what that means. Each virtual host will have a ROOT context;
what that contains is up to you.

Hassan Schroeder ------------------------

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message