Hi,
I’m about to setup rails on an XP machine using InstantRails.
BUT I have to use a separate web server with Apache (separate machine).
So I have to connect the web server and the app server.
I’ve always had all the stuff on the same machine.
Any good pointers about how the setup is done? (Before I start the
hacking…)
Thanks.
I know this should go to the rails deployment, but somehow I feel I
won’t get any replies there, sorry.
comopasta Gr wrote:
I’m about to setup rails on an XP machine using InstantRails.
Yuck.
BUT I have to use a separate web server with Apache (separate machine).
Sounds better if that’s a Linux machine.
So I have to connect the web server and the app server.
I’ve always had all the stuff on the same machine.
Any of the load balancing mechanisms you use should be able to handle
that. One simple way is to use Apache’s mod_proxy_balancer, but for more
robust solutions I hear a lot of people use HAProxy.
http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html
Hi Robert,
Yeah, it will be only for demo purposes, no production. InstantRails is
just quick to set.
Thanks for the tips, I used the mod_proxy and got the connection done
Cheers.