On 25/08/2009, viola.lu <[email protected]> wrote: > > Hi, > i am setting Apache https forward and loadbalance with mod_jk on tomcat, > /etc/httpd/config/httpd.conf as below:
This is the wrong mailing list. Please direct your question to the httpd user list, see: http://httpd.apache.org/lists.html#http-users > SSLProxyEngine on > LoadModule jk_module modules/mod_jk.so > <IfModule mod_jk.c> > JkWorkersFile conf/workers.properties > JkLogFile logs/mod_jk.log > JkLogLevel info > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " > JkOptions +ForwardKeySize +ForwardURICompat > -ForwardDirectories > JkRequestLogFormat "%w %V %T" > > <Location /*/WEB-INF/*> > AllowOverride None > deny from all > </Location> > > <Location /*/META-INF/*> > AllowOverride None > deny from all > </Location> > > # forward ALL web requests to our mod_jk loadbalancer workers > JkMount /servlet-examples-cluster/* loadbalancer > </IfModule> > > workers.properties > > worker.list=loadbalancer,status > worker.maintain=60 > > #worker.NODE1.type=ajp13 > #worker.NODE1.host=9.186.10.65 > #worker.NODE1.port=8009 > #worker.NODE1.socket_timeout=60 > #worker.NODE1.socket_keepalive=true > #worker.NODE1.lbfactor=1 > > #worker.NODE2.port=8009 > #worker.NODE2.host=9.186.10.167 > #worker.NODE2.type=ajp13 > #worker.NODE2.socket_timeout=60 > #worker.NODE2.socket_keepalive=true > #worker.NODE2.lbfactor=1 > > worker.NODE3.host=9.186.10.65 > worker.NODE3.type=ajp13 > worker.NODE3.socket_timeout=60 > worker.NODE3.socket_keepalive=true > worker.NODE3.lbfactor=1 > > worker.NODE4.host=9.186.10.68 > worker.NODE4.type=ajp13 > worker.NODE4.socket_timeout=60 > worker.NODE4.socket_keepalive=true > worker.NODE4.lbfactor=1 > > worker.loadbalancer.type=lb > worker.loadbalancer.balanced_workers=NODE3,NODE4 > worker.loadbalancer.sticky_session=true > worker.status.type=status > > > But it can't forward https request like > https://localhost/servlet-examples-cluster/index.jsp to memebers of > loadbalancer group, if i use mod_proxy , it works fine with above setting. > > Can somebody figure out what's wrong with my configuration about mod_jk, > thanks. > > > > -- > View this message in context: > http://www.nabble.com/How-to-configure-mod_jk%2Bloadbalance%2Bhttps-in-Apache-2.2-tp25127657p25127657.html > Sent from the HttpClient-User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]
