tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "frankie" <fran...@hkdotcom.net>
Subject Re: tomcat+apache
Date Fri, 18 Jul 2003 12:52:37 GMT
then how to define the virtual host in apache?any example?

> That's only half the solution, you'll also need to define another 
> virtual host in Apache's httpd.conf.
> 
> John
> 
> On Fri, 18 Jul 2003 10:41:16 +0200, Samuel Le Berrigaud 
> <sleberrig@dexem.com> wrote:
> 
> > I think you have only one virtual host in your Tomcat server.xml file
> >
> > <Host name="localhost" debug="0" appBase="webapps"
> > unpackWARs="true" autoDeploy="true">
> > ....
> >
> > </Host>
> >
> > you should add one with the name coresponding with your IP address like :
> >
> > <Host name="10.0.0.1" debug="0" appBase="webapps"
> > unpackWARs="true" autoDeploy="true">
> > ....
> >
> > </Host>
> >
> >
> > I think then it will work...
> >
> > regards,
> > SaM
> >
> > frankie wrote:
> >
> >> Dear all,
> >> i can build the mod_jk and setup the apache + tomcat +  j2sdk+mysql+jdbc 
> >> sucessfully,now i still have some problems want
> >> to ask you!!
> >> when i testing the server in local,i can access the jsp file without 
> >> specific the port number,
> >> for example:http://localhost/examples/jsp/index.htm
> >>
> >> when i use other computer to test it , it cannot access the  jsp file
> >> for example:http://10.0.0.1/examples/jsp/index,htm(can not access!!)
> >> but if specific the port 8080,it can works!!
> >>
> >>
> >> for example:http://10.0.0.1:8080/examples/jsp/index.htm(can access)
> >>
> >> Also the apache is work,i can see the apache welcome page if i
> >> type http://10.0.0.1
> >>
> >> regards,Frankie
> >> --
> >> Webmail
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> 
> -- 
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


--
Webmail


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message