Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to configure apache for vrtal host

Posted on 2006-07-17
1
Medium Priority
?
264 Views
Last Modified: 2010-03-04
hi I have 2 application residind at the following places

C://svn_new/tomcat/ccim/chapters

and

C://svn/tomcat/ccim/ccim


The tomcat is installed (latest version)at

c://tomcat

how can I configure in server.xml to have virtual host so that

localhost:8080 goes to chapters webiste

and

ccim.com goes to ccim website

Thnaks for all you help
----------------------------------------------------------------------------

 <Host name="localhost" appBase=""
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

<Context path ='' docBase= 'ROOT' debug='0' />
-----------------------------------------------------------------------------

0
Comment
Question by:huzefaq
1 Comment
 
LVL 4

Accepted Solution

by:
Tol_cv earned 2000 total points
ID: 17129740


<Host name="localhost" appBase=""
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

<Context path ='/' docBase= '/svn_new/tomcat/ccim/chapters' debug='0' />



<Host name="ccim.com" appBase=""
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

<Context path ='/' docBase= '/svn/tomcat/ccim/ccim' debug='0' />
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month11 days, 23 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question