woriking under webrick but not under passenger


I have just added login feature to my rails application (followed the
instruction from (Agile Web Development with Rails) but now I am getting
strange errors (looks to me like some kind of routing problem) under the

The error is:
500 Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.

From the log:

  [4;36;1mSQL (0.3ms) [0m [0;1mSET SQL_AUTO_IS_NULL=0 [0m

Processing ****Controller#index (for at 2010-04-26
18:56:24) [GET]
   [4;35;1mUser Columns (1.7ms) [0m [0mSHOW FIELDS FROM `users` [0m
   [4;36;1mUser Load (0.7ms) [0m [0;1mSELECT * FROM `users` WHERE
(`users`.`id` IS NULL) LIMIT 1 [0m
Redirected to https://******/login/login_page
Filter chain halted as [:authorize] rendered_or_redirected.
Completed in 31ms (DB: 3) | 302 Found [https://******/]

Does anybody has any suggestion what I could do?

Just want to add appache log:

[error] [client] Request exceeded the limit of 10 internal
redirects due to probable configuration error. Use
'LimitInternalRecursion' to increase the limit if necessary. Use
'LogLevel debug' to get a backtrace.

"LogLevel debug" didn't produce any more information.

It is definitely routing problem.
I could partially solve the problem by adding this:

  map.connect 'login', :controller => 'login', :action => "login_page"
  map.connect 'login/list_users', :controller => "login", :action =>
  map.connect 'login/add_user', :controller => "login", :action =>
  map.connect 'login/logout', :controller => "login", :action =>

to the routes.rb and just first line is working.
So redirecting to the <app>/login or typing it directly gives login_page
action from the login controller.
The remaining problem is that I still can't use any action directly like
/login/list_users or even /login/login_page.