• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Virtual Host Configuration in Tomcat 4.01

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem on how to config virtual host in tomcat 4.0
I have following in ~/conf/server.xml:

<Host name="morph" debug="0" appBase="/murphy" unpackWARs="true">
<Context path="" docBase="MyWebApp" />
</Host>

where 'morph' is my host name, I have my web root at /murphy/MyWebApp.
when I invoke "http://morph:8080", the browser returns 404: The requested resource (/) is not available.
but I do have 'index.html' in '/murphy/MyWebApp/', and the same path works ok in WebLobic server.
any one can help me work around this problem ?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!