You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by javen fang <fa...@yahoo.com.cn> on 2003/12/20 23:25:23 UTC

how to uri map virtual host

Hi all:

I configure iis5 + tomcat5, in workers2.properties :

[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
host=localhost
port=8009

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping
[uri:/servlet-examples/*]
group=ajp13:localhost:8009

[uri:/displaytag/*.]
context=/displaytag       ///default is localhost?
group=ajp13:localhost:8009

[uri:www.vhost1.com]
group=ajp13:localhost:8009
**************here. how to config
my win2000 server serve several virtual host.  tomcat
port is 8080, iis port is 80. tomcat's defaultHost is
localhost, and then have several virtual host.

the sub context displaytag/servlet-examples visit
successfully! And now I want to visit these hosts
through iis. 


Another Q is, I config
[logger.file:5]
level=DEBUG
file=d:/tomcat50/logs/jk2.log
why debug info have not inserted into this file.


thanks!!!

javen

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: how to uri map virtual host

Posted by javen fang <fa...@yahoo.com.cn>.
Can anybody help me?  

vhost map question.

thanks very much!

--- javen fang <fa...@yahoo.com.cn> wrote:
> Hi all:
> 
> I configure iis5 + tomcat5, in workers2.properties :
> 
> [channel.socket:localhost:8009]
> info=Ajp13 forwarding over socket
> tomcatId=localhost:8009
> host=localhost
> port=8009
> 
> # define the worker
> [ajp13:localhost:8009]
> channel=channel.socket:localhost:8009
> 
> # Uri mapping
> [uri:/servlet-examples/*]
> group=ajp13:localhost:8009
> 
> [uri:/displaytag/*.]
> context=/displaytag       ///default is localhost?
> group=ajp13:localhost:8009
> 
> [uri:www.vhost1.com]
> group=ajp13:localhost:8009
> **************here. how to config
> my win2000 server serve several virtual host. 
> tomcat
> port is 8080, iis port is 80. tomcat's defaultHost
> is
> localhost, and then have several virtual host.
> 
> the sub context displaytag/servlet-examples visit
> successfully! And now I want to visit these hosts
> through iis. 
> 
> 
> Another Q is, I config
> [logger.file:5]
> level=DEBUG
> file=d:/tomcat50/logs/jk2.log
> why debug info have not inserted into this file.
> 
> 
> thanks!!!
> 
> javen
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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