Solved

how to configure apache for vrtal host

Posted on 2006-07-17
1
250 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 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mysql is corrupting stringified JSON object 11 56
Internal wordpress pages 404 5 43
file path 14 72
htaccess restrict subdomain 4 132
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

808 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