OK. Thanks for the tip. Kenneth Svee wrote: [ "jackywong@xxxxxxxxx" <jackywong@xxxxxxxxx> ]Dear all, In our environment, we are using 1 apache server and load balanced to 2 resin servers (all in different machines). A snippet of our apache httpd.conf: <VirtualHost external_ip:80> RewriteEngine on RewriteCond %{SERVER_PORT} ^80$ RewriteCond %{HTTP_HOST} ^some\.domainname\.com$ RewriteRule ^/(.*) https://some.domainname.com/$1 [L,R] DocumentRoot /www/app01 ServerName svr01 DirectoryIndex index.jsp ResinConfigServer 192.168.11.101 6802 ResinConfigServer 192.168.11.102 6802 CauchoStatus yes # do not remove, otherwise apache will serve the jsp source code once resin is down AddHandler caucho-request .jsp </VirtualHost> I need it to go to 192.168.11.102 until it is unable to accept request, and then only fail over to 192.168.11.101. The reason why i want to do this is because, 102 is a higher-end server and 101 is our old server. How do i set the priority of the servers?This is a mod_caucho (Resins Apache-module) config-issue. Please se the Resin-docs: http://www.caucho.com/resin-3.0/install/cse-apache.xtp#balance (What you want is to check out the CauchoHost- and CauchoBackup-directives.) Rgds, Kenneth Svee --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx -- Warm regards, Jacky Wong--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See |