You must rename your directory from mysite to ROOT.

<Context docBase="c:\sites\www.mysite.com\ROOT" path="" reloadable="true" source="com.ibm.wtp.web.server:mysite"/>


Peter

TroyGeek schrieb:

I have a problem with Tomcat Virtual Hosting. I have my virtual host defined like so in server.xml (the source thing there is from Eclipse Webtools):

<Host name="www.mysite.com <http://www.mysite.com>" appBase="c:\sites\www.mysite.com\" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">

<Context docBase="c:\sites\www.mysite.com\mysite" path="" reloadable="true" source="com.ibm.wtp.web.server:mysite"/>

</Host>

When I bring up the site in the browser I can access it at:
http://www.mysite.com/
and
http://www.mysite.com/mysite/
I don't want the site to be available at http://www.mysite.com/mysite/
Do you know why it's serving the webapp at these two locations and not just the first? thank you for your time, Troy Campano




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

Reply via email to