Hi List,

Please help me on the below scenario .

I have one war eample.war & which is also having a images folder (
/usr/local/tomcat/webapps/example/images). I will type
http://192.168.65.100and it'll load the "example" apps. What will be
my httpd.conf file syntax
that it ll load the image from apache's "/var/www/images"  folder not from
tomcat.


Httpd.conf
--------------
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel error
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat     "%w %V %T"
JkMount / loadbalancer
JkMount /* loadbalancer

Workers.properties
--------------------------
worker.list=loadbalancer
worker.tomcat1.port=8009
worker.tomcat1.host=192.168.65.102
worker.tomcat1.type=ajp13
worker.tomcat1.lbfactor=1

worker.tomcat2.port=8009
worker.tomcat2.host=192.168.65.103
worker.tomcat2.type=ajp13
worker.tomcat2.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.sticky_session=1
worker.loadbalancer.balanced_workers=tomcat1, tomcat2
worker.loadbalancer.method=Busyness
worker.loadbalancer.lbfactor=1
worker.loadbalancer.sticky_session=1
worker.loadbalancer.stickysessions=true




/\
tRm

Reply via email to