Hi.
I'm trying to deploy my rails application on ubuntu server using apache2
and fcgid..but have not been successful..
I am using ruby 1.8.6, rails 2.2.2 and fcgi 0.8.7 gem...
I am able to start apache successfully and view the Aptana RadRails
welcome page..But giving my controller's name gives me a 404 error...
I have made required changes in my /public/.htaccess and
/public/dispatch.fcgi files....as=>
I'm using the module fcgid with apache and so along with it I need the fcgi
gem.
I tried using fastcgi module but it would crash....so I switched to fcgid
which is much reliable than fastcgi...
I've also installed and used phusion passenger and ruby enterprise
edition...but no use....
It too gives me a 404 error....:-((
Can you please suggest any other way in which I can SUCCESSFULLY deploy my
rails application on apache???
Thanks.
I would actually look at Passenger again and see where things went
wrong. You can use Passenger along with just the MRI version of Ruby
(I'm running it on Ruby 1.8.7 right now).
I'm using the module fcgid with apache and so along with it I need the fcgi
gem.
I tried using fastcgi module but it would crash....so I switched to fcgid
which is much reliable than fastcgi...
I've also installed and used phusion passenger and ruby enterprise
edition...but no use....
It too gives me a 404 error....:-((
Can you please suggest any other way in which I can SUCCESSFULLY deploy my
rails application on apache???
Thanks.
Bobnation wrote:
> I guess my question would start with this: why are you using fcgi?
>> Hi.
>> I'm trying to deploy my rails application on ubuntu server using apache2
>> and fcgid..but have not been successful..
>> I am using ruby 1.8.6, rails 2.2.2 and fcgi 0.8.7 gem...
>> I am able to start apache successfully and view the Aptana RadRails
>> welcome page..But giving my controller's name gives me a 404 error...
>> I have made required changes in my /public/.htaccess and
>> /public/dispatch.fcgi files....as=>