I'm developing a simple Rails app on top of Apache 1.3 on Solaris 9, using Ruby
1.8.2 and Rails 1.1.6. I'd use Lighttpd insead of Apache if the choice were
mine, but it isn't. I have control of all the Apache config files, but my
control ends at that level. I don't get to choose the web server.
It runs fine with Webrick. It does not work with Apache. I believe the Apache
configuration is the problem, and it's likely something simple and
embarrassing. Here are the details, with names changed to protect the company.
Let's call the appliation ACIDS, because it makes my eyes burn. It lives at:
/usr/local/web/dev/cgi/rails/acids
which is outside of our document root. That's handled with an alias in Apache:
Alias /acids /usr/local/web/dev/cgi/rails/acids
The files in acids/public are owned by nobody (which is what Apache runs as).
You're riding the Rails" message.
The FastCgiServer configuration for dispatch.fcgi in public is working. That
is, it shows up as a running process, owned by nobody:
nobody 6768 6765 0 00:00:03 ? 0:06 /ropt/local/bin/ruby
/usr/local/web/dev/cgi/rails/acids/public/dispatch.fcgi
The development.log has errors when I try to do anything other than go to the
root of the application. Example:
Recognition failed for "/acids/dispatch.fcgi/admincategory/"
I can't tell if it's that dispatch.fcgi isn't working at all, or if what's
being passed to it is literally:
/acids/dispatch.fcgi/admincategory/
when dispatch.fcgi needs to receive just:
admincategory
Or maybe it's something else entirely. Any Rails/Apache wisdom is welcome.
Thank you.
Andrew
_______________________________________________
talk mailing list