This content has been marked as final.
Show 1 reply
-
1. Re: How to deploy a war app to multile virtual hosts
jackofspades Sep 26, 2003 1:25 PM (in response to cpd1)I haven't looked at the warp Connector, but I think using the JK2 connector you can specify in the workers2.properties file different hostnames. I haven't tried it myself, but I'm thinking that it should work:
# comment out for production server
# [logger.apache2]
# level=DEBUG
[shm]
file=C:/Apache2/logs/shm.file
size=1048576
# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=localhost
# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
# Uri mapping
[uri:hostname1/*.jsp]
worker=ajp13:localhost:8009
[uri:hostname2/*.jsp]
worker=ajp13:localhost:8009