• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

Virtual Host Configuration in Tomcat 4.01

Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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" />

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 ?
    Bookmark Topic Watch Topic
  • New Topic