tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pradeep <>
Subject Fwd: Problem with hosting mulitple websites on single tomcat 7
Date Mon, 24 Sep 2012 13:41:00 GMT
I have one domain hosted on cloud server. Let's say

Now i want to add and to same cloud server, for that , i added
host entries inside server.xml as below,

<Host name="localhost"  appBase="webapps"

            unpackWARs="true" autoDeploy="true">

        <!-- SingleSignOn valve, share authentication between web applications
             Documentation at: /docs/config/valve.html -->

        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />


        <!-- Access log processes all example.

             Documentation at: /docs/config/valve.html
             Note: The pattern used is equivalent to using pattern="common" -->

        <Valve className="org.apache.catalina.valves.AccessLogValve"

               prefix="localhost_access_log." suffix=".txt"

               pattern="%h %l %u %t &quot;%r&quot; %s %b" />


  <Host name="" appBase="webapps_a"></Host>

 <Host name="" appBase="webapps_b"></Host>

 (Note, Localhost was the orignal entry)

But , problem is , they both are pointing to and not to their
respective domains/webapp directories

Thank you for providing such great tool.

Thanks & Regards,
Pradeep Chaudhari

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message