Hi, I''m trying to install my rails app on a shared host. I''ve successfully installed my own Ruby, RubyGems and the follwoing gems : mysql, rails. My host won''t let me install fcgi, but I can use cgi. The application works with webrick but not with Apache + cgi. I''ve got the Error 500 document if I point to mydomain.com, and if I launch "dispatch.cgi" from the command line, I''ve got the following error : Status: 400 Bad Request What''s wrong ? The log/*.log files are empty, is there somehere else I should look for a more detailed error description ? Thanks for your help, Martin. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Xavier Noria
2007-Jan-23 12:27 UTC
Re: Trouble with Rails on a shared host : error 400 dispatch.cgi
On Jan 23, 2007, at 1:19 PM, Martin wrote:> I''m trying to install my rails app on a shared host. I''ve successfully > installed my own Ruby, RubyGems and the follwoing gems : mysql, rails. > My host won''t let me install fcgi, but I can use cgi. > > The application works with webrick but not with Apache + cgi. I''ve got > the Error 500 document if I point to mydomain.comIs the shebang correct? What does the Apache error log say? -- fxn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
augustlilleaas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jan-23 13:05 UTC
Re: Trouble with Rails on a shared host : error 400 dispatch.cgi
Better than FCGI: use mongrel and dispatch.rb. On Jan 23, 1:27 pm, Xavier Noria <f...-xlncskNFVEJBDgjK7y7TUQ@public.gmane.org> wrote:> On Jan 23, 2007, at 1:19 PM, Martin wrote: > > > I''m trying to install my rails app on a shared host. I''ve successfully > > installed my own Ruby, RubyGems and the follwoing gems : mysql, rails. > > My host won''t let me install fcgi, but I can use cgi. > > > The application works with webrick but not with Apache + cgi. I''ve got > > the Error 500 document if I point to mydomain.comIs the shebang correct? What does the Apache error log say? > > -- fxn--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---