Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Delare virtual host
Joined: Nov 20, 2003
Jan 11, 2005 21:30:00
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"
I access testlocalhost:8080/examples but cannot find the page.
It is sorta covered in the
JavaRanch Style Guide
subject: Delare virtual host
Multiple web applications, one virtual host, access logging
Problem while virtual hosting in Tomcat 5.0.28
How to deploy my own directory in Tomcat?
Virtual host apps reload localhost app
Tomcat error when running startup.sh
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013