Mat Schaffer on 28 Feb 2007 17:10:08 -0000

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] rails fastcgi issues

On Feb 28, 2007, at 11:39 AM, Michael Scappa wrote:

Any light someone can shed on this would be a big help.

I’m having a ton of trouble getting rails to work with apache + fastcgi on a plesk 8 server.  Mongrel/webrick work totally fine.

I keep getting routing errors:

no route found to match "/test" with {:method=>:get}

when trying to access anything besides the index page.

Does anybody had experience getting this set up correctly?

Not on plesk anyway, but I've gotten it running on OS X with apache and fastcgi.  First, I'd see what you have in logs/<environment>.log.  There may be useful information there.

Also, check to make sure that public/.htaccess points to dispatch.fcgi and has any necessary rewrite rules.

If it works under mongrel, your routes should be okay... But I'd probably put a static route in there just to test it.

Hope that helps some,
To unsubscribe or change your settings, visit: