Skip to content

Instantly share code, notes, and snippets.

@mrchrisadams
Created March 13, 2009 18:04
Show Gist options
  • Save mrchrisadams/78672 to your computer and use it in GitHub Desktop.
Save mrchrisadams/78672 to your computer and use it in GitHub Desktop.
<Proxy balancer://loco>
BalancerMember http://localhost:15000
BalancerMember http://localhost:15001
BalancerMember http://localhost:15002
BalancerMember http://localhost:15003
BalancerMember http://localhost:15004
</Proxy>
<VirtualHost *:80>
ServerName loco2.stemcel.co.uk
ProxyPass / balancer://loco/
ProxyPassReverse / balancer://loco/
<Location />
Allow from all
## basic authentication
AuthType Basic
AuthUserFile /etc/apache2/sites-enabled/.htpasswd
AuthName "Loco2 staging site"
require valid-user
</Location>
<Location /balancer-manager>
SetHandler balancer-manager
</Location>
</VirtualHost>
MissingSourceFile (no such file to load -- mysql):
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
gem list
*** LOCAL GEMS ***
actionmailer (2.2.2)
actionpack (2.2.2)
activerecord (2.2.2)
activeresource (2.2.2)
activesupport (2.2.2)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
eventmachine (0.12.6, 0.12.2)
fastthread (1.0.1)
fiveruns-memcache-client (1.5.0.5)
gem_plugin (0.2.3)
god (0.7.12)
mechanize (0.9.2, 0.9.0)
mongrel (1.1.5)
mysql (2.7)
nokogiri (1.2.1, 1.1.1)
rails (2.2.2)
rake (0.8.4, 0.8.3)
starling-starling (0.9.9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment