Solved

how to configure apache for vrtal host

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now