[Rails] dispatch.cgi not found error

Marten Veldthuis marten at standardbehaviour.com
Sun Nov 7 13:31:04 GMT 2004


Steven Critchfield wrote:
> While I may be wrong, it would seem you have put your blog down a sub
> dir and you didn't modify the .htaccess file with the new location of
> dispatch.cgi. The error message shows it is looking in the root dir.

No you're right. This url works fine:
http://www.ampede.com/blog/dispatch.cgi?controller=weblog&action=index

Eric, you'll have to modify the rewriterules below this line:

# Default rewriting rules. Change extension from .cgi to .fcgi to switch 
to FCGI and to .rb to switch to mod_ruby

to make them point at /blog/dispatch.cgi instead of /dispatch.cgi.

-- 
Marten Veldthuis


More information about the Rails mailing list