Skip to content

Instantly share code, notes, and snippets.

@rhusar
Created January 31, 2014 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhusar/dcb85f5f69a70a60324f to your computer and use it in GitHub Desktop.
Save rhusar/dcb85f5f69a70a60324f to your computer and use it in GitHub Desktop.
LoadModule cluster_slotmem_module modulesmc/mod_cluster_slotmem.so
LoadModule proxy_cluster_module modulesmc/mod_proxy_cluster.so
LoadModule advertise_module modulesmc/mod_advertise.so
LoadModule manager_module modulesmc/mod_manager.so
MemManagerFile /var/cache/httpd
ServerName localhost
<IfModule manager_module>
LogLevel debug
Listen 127.0.0.1:9090
ManagerBalancerName mycluster
<VirtualHost localhost:9090>
<Location />
Order deny,allow
Deny from all
Allow from all
Require all granted
</Location>
KeepAliveTimeout 1
MaxKeepAliveRequests 1
ServerAdvertise On
AdvertiseFrequency 1
EnableMCPMReceive
AdvertiseGroup 224.0.1.105:23364
<Location /mcm>
Require all granted
SetHandler mod_cluster-manager
Order deny,allow
Deny from all
Allow from all
</Location>
<Location /mod_cluster_manager>
Require all granted
SetHandler mod_cluster-manager
Order deny,allow
Deny from all
Allow from all
</Location>
</VirtualHost>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment