Passenger and Apache: getting 404 but rails log says OK
I am upgrading an old Rails application to the most recent versions of Ruby, Rails, Authlogic, Passenger etc. The new version works OK with WEBrick, but I cannot get it to work with Apache2.2 (the old one worked nicely). The problem is that the Rails application log indicates no error, e.g.:

>tail production.log 
Started GET "/user_sessions/new" for xxx.xxx.79.87 at 2011-08-02 15:43:02 +0200
  Processing by UserSessionsController#new as HTML
Rendered user_sessions/new.html.erb within layouts/application (9.6ms)
Completed 200 OK in 53ms (Views: 50.0ms | ActiveRecord: 11.8ms)

neither does the apache acces_log
xxx.xxx.79.87 - - [02/Aug/2011:15:43:02 +0200] "GET /user_sessions/new HTTP/1.1" 200 1524

whereas the Firefox client says 404 'The page you were looking for doesn't exist'.

The apache error_log only recorded a normal startup of Passenger
[Tue Aug 02 15:30:37 2011] [notice] Apache/2.2.16 (Unix) Phusion_Passenger/3.0.7 configured -- resuming normal operations

I fail to see the way out and would greatly appreciate suggestions to solve the problem.

Regards

Per

Passenger and Apache: getting 404 but rails log says OK
===

I am upgrading an old Rails application to the most recent versions of Ruby, Rails, Authlogic, Passenger etc. The new version works OK with WEBrick, but I cannot get it to work with Apache2.2 (the old one worked nicely). The problem is that the Rails application log indicates no error, e.g.:

>tail production.log 
Started GET "/user_sessions/new" for xxx.xxx.79.87 at 2011-08-02 15:43:02 +0200
  Processing by UserSessionsController#new as HTML
Rendered user_sessions/new.html.erb within layouts/application (9.6ms)
Completed 200 OK in 53ms (Views: 50.0ms | ActiveRecord: 11.8ms)

neither does the apache acces_log
xxx.xxx.79.87 - - [02/Aug/2011:15:43:02 +0200] "GET /user_sessions/new HTTP/1.1" 200 1524

whereas the Firefox client says 404 'The page you were looking for doesn't exist'.

The apache error_log only recorded a normal startup of Passenger
[Tue Aug 02 15:30:37 2011] [notice] Apache/2.2.16 (Unix) Phusion_Passenger/3.0.7 configured -- resuming normal operations

I fail to see the way out and would greatly appreciate suggestions to solve the problem.

Regards

Per
