On Wed, Apr 15, 2009 at 7:44 AM, gisrob <g...@vanbooth.com> 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 > http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html
If you followed the above -- showing the relevant part of server.xml would probably be helpful -- and entered a url like http://flavour1.example.com/ 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 ------------------------ hassan.schroe...@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org