I am a newbie in RoR.
My OS is Windos XP and I install InstantRails(v2.00) for the RoR
I already write a simple RoR app and works perfectly on Mongrel that
provided by InstantRails.
Now, I am trying to deploy my RoR app works on Apache(v1.3.33) by
following the tutorial:
Here is the setting of my Apache configuration file - httpd.conf:
SetEnv RAILS_ENV development
Options ExecCGI FollowSymLinks
AddHandler cgi-script .cgi
AddHandler fastcgi-script .fcgi
Allow from all
BTW, I didn't open the fastcgi module.
#LoadModule fastcgi_module modules/mod_fastcgi.dll
Because it will show up a error message that can't find the
mod_fastcgi.dll file, even I already download it
from "http://www.fastcgi.com/dist/" and put at modules directory.
Then I connect to URL "http://localhost/"
But it will always show up 403 error message as below:
You don't have permission to access / on this server.
If I restore the original index.html file. I can see the welcome
You’re riding Ruby on Rails!
But if add the controller name at URL tail, like: http://localhost/home
Then it will show up 404 error message,
The requested URL /home was not found on this server.
I already spent a whole day to find the solution, but still can't get
a good answer.
I must admit I am not very familiar with the Apache configurations.
Could someone tell me what's wrong?
The following is my environment information:
OS: Windows XP sp2