• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

virtual hosting with tomcat

Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using tomcat 4.0.1 on Win NT. I want to virtual hosting in TOMCAT so that
every domain can upload the servlet and JSP files in its own directory. I have configured tomcat with IIS on our server and it is working properly with IP address of our server.
now we have 5 domains in server
But we want every domain can upload the files into its own domain. Like
How can we do it. Please help me.
i tried this for example but failed
<!-- Inserted By Parul For MinorForest -->
<Host name="www.mfpfederation.com" debug="0" appBase="g:\mfpfederation.com" unpackWARs="true">
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
<!-- Tomcat Examples Context -->
<Context path="/mfpjava" docBase="minorJava" debug="0"
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_examples_log." suffix=".txt"
<Ejb name="ejb/EmplRecord" type="Entity"
<Environment name="maxExemptions" type="java.lang.Integer"
<Parameter name="context.param.name" value="context.param.value"
<Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
<ResourceParams name="jdbc/EmployeeAppDb">
<value>jdbc:HypersonicSQL atabase</value></parameter>
<Resource name="mail/Session" auth="Container"
<ResourceParams name="mail/Session">
<!-- End Of Minor Forest -->
above is entry which i made in server.xml
[ February 04, 2002: Message edited by: parul patidar ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!