wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Delare virtual host Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Delare virtual host" Watch "Delare virtual host" New topic

Delare virtual host

michael yue
Ranch Hand

Joined: Nov 20, 2003
Posts: 204
Hi all,

I try to declare a virtual host in my local pc and tried to access it but it seems cannot find the page. Here is what I put in server.xml

<Host name="testlocalhost" appBase="D:/jakarta-tomcat-4.1.31/webapps">
<Context path="" docBase="."/>
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true"/>

I access testlocalhost:8080/examples but cannot find the page.
wood burning stoves
subject: Delare virtual host
Similar Threads
Virtual host apps reload localhost app
How to deploy my own directory in Tomcat?
Multiple web applications, one virtual host, access logging
Problem while virtual hosting in Tomcat 5.0.28
Tomcat error when running startup.sh