I have multiple websites with a webapp of its own setup with Virtual
Host.
How can I have the webapp removed from the url?
Example:
www.example1.com - located /webapps/example1
www.example2.com - located /webapps/example2
www.example3.com - located /webapps/example3
The url currently is http://www.example1.com/example1/index.jsp
Here is what I prefer: http://www.example1.com/index.jsp
Thanks ~
Tor Iver Wilhelmsen - 08 Mar 2007 23:10 GMT
På Thu, 08 Mar 2007 17:56:00 +0100, skrev prezjt <presidentjt@gmail.com>:
> Here is what I prefer: http://www.example1.com/index.jsp
Set example1 as the virtual host's root application.
<Context path="/" docBase="example1" />
Or play around with using different appBase folders for the virtual hosts.