You mean aside from the extensive documentation available at the Apache site (http://httpd.apache.org/docs-2.0/vhosts/)?


You could try here: http://www.johnturner.com/howto/mod_jk_conf.html

John

On Fri, 18 Jul 2003 20:52:37 +0800, frankie <[EMAIL PROTECTED]> wrote:

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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Webmail


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to