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
passenger/apache.
The error is:
500 Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
[error] [client 192.168.1.101] 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.
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.