Home > Software > does it get any easier then this?

does it get any easier then this?

November 6th, 2006

/etc/httpd/conf.d/rails.conf



  BalancerMember http://10.0.6.130:3000
  BalancerMember http://10.0.6.130:3001
  BalancerMember http://10.0.6.130:3002
  BalancerMember http://10.0.6.130:3003


NameVirtualHost *:80


    ServerName bigbox
    ServerAlias bigbox
    ProxyPass / balancer://rails-cluster/
    ProxyPassReverse / balancer://rails-cluster/
    ErrorLog /var/log/httpd/rails/error_log
    TransferLog /var/log/httpd/rails/access_log

my rails project:
config/mongrel_cluster.yml

---
cwd: /home/taf2/bug-fixes/
port: "3000"
environment: production
address: 10.0.6.130
pid_file: log/mongrel.pid
servers: 4

and for kicks switch environment to development if you’re not testing a session based app.

Software ,

  1. No comments yet.
  1. No trackbacks yet.
CommentLuv Enabled

Comments links could be nofollow free.