<VirtualHost *:80> ServerName test.com DirectoryIndex index.html dispatch.fcgi DocumentRoot /domains/test.com/web/public RewriteEngine On RewriteRule ^(.*/)?.svn/ - [F,L] ProxyPass /images ! ProxyPass /stylesheets ! ProxyPass /javascripts ! ProxyPass /examples ! ProxyPass /map_data ! ProxyPass /engine_files ! ProxyPass /javascript ! ProxyPass /feregions ! ProxyPass / balancer://test/ ProxyPassReverse / balancer://test ProxyPreserveHost On ErrorLog /opt/csw/apache2/var/log/test.com.error CustomLog /opt/csw/apache2/var/log/test.com common <Proxy balancer://test> BalancerMember http://127.0.0.1:8000 BalancerMember http://127.0.0.1:8001 BalancerMember http://127.0.0.1:8002 BalancerMember http://127.0.0.1:8003 BalancerMember http://127.0.0.1:8004 </Proxy> </VirtualHost>
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Apache + mongrel_cluster VirtualHost snippet (See related posts)
You need to create an account or log in to post comments to this site.
Related Posts
» mongrel_cluster monit script in mongrel mongrel_cluster monit monitoring
» Mongrel cluster starting aft... in ruby rails ubuntu mongrel mongrel_cluster gutsy gibbon
» Suexec'ed PHP-FastCGI on Apa... in apache php fastcgi suexec
» Mixed example of mod_deflate... in apache mod_deflate httpd.conf
» Serve XHTML 1.1 Properly in apache httpd.conf xhtml
» Getting a copy of a x509 cer... in apache ssl openssl certifcates
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails