Fcgid and webrick

I try to run my app with rails 1.2.3 by mod_fcgid with apache2.2 and
ruby1.8.5. The result from production.log is error:

/vendor/rails/actionpack/lib/action_controller/routing.rb:1292:in

recognize_path' /vendor/rails/actionpack/lib/action_controller/routing.rb:1282:inrecognize’
/vendor/rails/railties/lib/dispatcher.rb:40:in dispatch' /vendor/rails/railties/lib/fcgi_handler.rb:168:inprocess_request’
/vendor/rails/railties/lib/fcgi_handler.rb:143:in
process_each_request!' /vendor/rails/railties/lib/fcgi_handler.rb:109:inwith_signal_handler’
/vendor/rails/railties/lib/fcgi_handler.rb:142:in
process_each_request!' /usr/lib/ruby/1.8/fcgi.rb:612:ineach_cgi’
/usr/lib/ruby/1.8/fcgi.rb:609:in each' /usr/lib/ruby/1.8/fcgi.rb:609:ineach_cgi’
/vendor/rails/railties/lib/fcgi_handler.rb:141:in
process_each_request!' /vendor/rails/railties/lib/fcgi_handler.rb:55:inprocess!’
/vendor/rails/railties/lib/fcgi_handler.rb:25:in `process!’
/var/www/virtual/rubybox.net/test/htdocs/dispatch.fcgi:24

But when i run from webrick (script/server), it work fine

I got solution now. Because I create sym-link to rails/public, so rails
cannot route to rails/config directory. The solution is, moving all
rails/*
to same dir of sym-link

On 6/7/07, revolution [email protected] wrote:

process_request' process_each_request!’
/vendor/rails/railties/lib/fcgi_handler.rb:55:in process!' /vendor/rails/railties/lib/fcgi_handler.rb:25:in process!’
/var/www/virtual/rubybox.net/test/htdocs/dispatch.fcgi:24

But when i run from webrick (script/server), it work fine


Artit S.

http://www.rubybox.net (Thai Language)