Hi,

I'm using Tomcat 4.1.12 and set up a virtual host in
my server.xml file. 

I want to be able to type the url www.myurl.com and
this to go to the equivalent of going directly to
localhost:8080/myapp. Currently www.myurl.com will
replace the localhost section, but i still have to put
the path of myapp after it to get to the page i want,
i.e. www.myurl.com/myapp works but www.myurl.com does
not.

Here's the host that i added:

<Host name="www.myurl.com" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true">
                                                <Context path="/myapp" docBase="myapp" 
debug="0"
reloadable="true" crossContext="true">
                                </Context>
                        </Host>


Any ideas appreciated,
Thanks,


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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

Reply via email to