I am just getting off the ground with RoR. (actually just walking out to
I want to setup a development / test environment as close to the
production environment as possible except for OS (Win XP for Dev, Linux
I have Apache, MySQL, PhP installed and operating close enough to the
production environment that all the PhP stuff I’ve done in the past
seems to work fine.
I have installed Ruby, Gems, and Rails, and maybe (not quite sure)
FastCGI on my home (development) machine running Windows XP.
There are two things that I need help with:
- I need to use my development Apache Server for RoR development &
testing as well as maintenance and improvements to my existing PhP based
site. All of the apache configuration advice I have read seems to want
to point apache only to a single RoR app by changing the document root.
How can I make it so that i can go to www.myphpdomain.tst I get the php
site, and when i go to www.myrailsdomain.tst I get the ralis app.
Extending the concept, I’d like to be able to go to
www.my2ndrailsdomain.tst and get a 2nd rails app. To date I’m using the
host file to route www.myphpdomain.tst to 127.0.0.1. I don’t mind if
the urls for the sites point to subordinate folders (like
2)How can I tell if I have FastCGI installed and configured correctly
I know that I do not need to tackle these problems to learn RoR, but If
I cannot tackle them then learning RoR may be a pointless exercise for
Thanks in advance!