Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Delare virtual host

 
michael yue
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"/>
</Host>

I access testlocalhost:8080/examples but cannot find the page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic