Have been working on the server configuration for these few days. Here is the conf file for the apache under the fedora 10.
<Proxy balancer://sms>
BalancerMember http://127.0.0.1:8080
</Proxy>
ExtendedStatus On
<Location /server-manager>
SetHandler server-status
</Location>
<Location /balancer-manager>
SetHandler balancer-manager
</Location>
<VirtualHost *:80>
ServerName sms
ProxyRequests off
ProxyPass /balancer-manager !
ProxyPass /server-status !
ProxyPass / balancer://sms/
ProxyPassReverse / balancer://sms/
</VirtualHost>
mongrel_rails cluster::configure -e development -p 8000 -N 1 -c /home/ben/SMS -a 127.0.0.1
Bear in mind that, you might have to disable the SELinux by
echo 0 >/selinux/enforce
You need the root authority.
575

被折叠的 条评论
为什么被折叠?



