Solved

how to configure apache for vrtal host

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

9 Experts available now in Live!

Get 1:1 Help Now