Last active
August 29, 2015 13:57
-
-
Save jdmr/9413587 to your computer and use it in GitHub Desktop.
Tomcat 7 Debian 7 mod_cluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule manager_module> | |
Listen 192.168.1.47:9999 | |
ManagerBalancerName mycluster | |
<VirtualHost 192.168.1.47:9999> | |
KeepAliveTimeout 60 | |
MaxKeepAliveRequests 0 | |
AdvertiseFrequency 5 | |
ServerAdvertise on | |
EnableMCPMReceive | |
#LogLevel debug | |
<Location /> | |
Order deny,allow | |
Allow from 192.168.1 | |
</Location> | |
<Location /cluster-manager> | |
SetHandler mod_cluster-manager | |
Order deny,allow | |
Allow from 192.168.1 | |
</Location> | |
</VirtualHost> | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so | |
LoadModule proxy_ajp_module /usr/lib/apache2/modules/mod_proxy_ajp.so | |
LoadModule slotmem_module /usr/lib/apache2/modules/mod_slotmem.so | |
LoadModule manager_module /usr/lib/apache2/modules/mod_manager.so | |
LoadModule proxy_cluster_module /usr/lib/apache2/modules/mod_proxy_cluster.so | |
LoadModule advertise_module /usr/lib/apache2/modules/mod_advertise.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment