tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Luc BEAUDET <beau...@toolchest.cyber.kodak.com>
Subject Re: Tomcat4 and Virtual Hosts
Date Mon, 08 Apr 2002 15:18:54 GMT
Well, well

Let's have some breath:

Yu said that the actual code

WebAppConnection conn warp localhost:8008

WebAppDeploy  mydomain-context conn /context

was just runnin' OK before yu declared that one below:

<VirtualHost 1.2.3.4>
    ServerName mydomain.com
    ServerAlias www.mydomain.com
    DocumentRoot /path/mydomain.com

    WebAppConnection mydomain-conn warp localhost:8008

    WebAppDeploy mydomain-context mydomain-conn /context
 </VirtualHost>

Right ?

In yur server xml yu declared in the right section - that is  <Service
name="Tomcat-Apache"> -
yur Virtual host:

 <Host name="mydomain.com">    ADD INSIDE IT the appbase="/path/to/my/webapps"
           <Alias name="www.mydomain.com"</Alias> I'd WRITE it THIS WAY as said in
the DOc....

           <Context path="/context" docBase="/path/mydomain.com/context"/>

 </Host>

Is that Correct ?

After modifications, did yu restart 1) Tomcat    2) Apache ?

Could yu declare WebAppInfo and tell us about it ?

JLB :O)



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message