Forum: Ruby on Rails Ruby on Rails strange issue

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Vacutza P. (Guest)
on 2006-06-01 16:22
I just installed Ruby on Rails and created the new repository.
I wanted to use Ruby on Rails with FCGI
The repository was created in /path/to/public_html

ls /path/to/public_html/ :
app  cgi-bin     config  doc  log       public    README        script
asd  components  db      lib  logo.jpg  Rakefile  README_LOGIN  test

I installed fcgi support for ruby on rails and mod_fastcgi for Apache
1.3.x using a guide from the rails wiki.
When I open in my browser I get a 404 error
[Thu Jun  1 07:07:03 2006] [error] [client IP] FastCGI: invalid
(dynamic) server "/path/to/public_html/dispatch.fcgi": script not found
or unable to stat()

I am wondering why it searches for dispatch.fcgi in /path/to/public_html
if its located in /path/to/public_html/public ?

I tried and copied the contents of /path/to/public_html/public to
/path/to/public_html and after doing that I receive another error when
opening in my browser :

[Thu Jun  1 07:14:18 2006] [error] [client IP] FastCGI: comm with
(dynamic) server "/path/to/public_html/dispatch.fcgi" aborted: (first
read) idle timeout (30 sec)
[Thu Jun  1 07:14:18 2006] [error] [client IP] FastCGI: incomplete
headers (0 bytes) received from server

I have Fedora Core 4
Apache 1.3.x
Rails 1.1.2
ruby 1.8.4
Gem 0.8.11
mod_fastcgi-SNAP-0404142202 (the latest)
fcgi devel compiled from sources 2.4.0
FastCGI ruby binding fcgi (
MySQL/Ruby - mysql (2.7)

Please help
Thank you
This topic is locked and can not be replied to.