Mongrel + apache + acts_as_authentication = status 500 error

I’ve got an app that uses the acts_as_authentication plugin. On webbrick
it works fine, when deployed on mongrel + apache, i’m getting status 500
errors when a controller action is invoked that requires the user to be
logged in. It returns the status 500 error and spews html rather than
rendering it on the redirect to the login page. Further more, it
shouldn’t be redirecting at all since the before_filter has an exception
for the particular action I’m calling.

It also seems to ignore the following:

before_filter :login_required, :except => [ :action_x]

Under webrick, if someone that isn’t authenticated calls action_x, no
problem works as expected. Under mongrel + apache, it still thinks the
user needs to be authenticated.

Any ideas/suggestions?

Basically, acts_as_authenticated seems to be puking badly when used with
mongrel.

Thanks

On 9/17/06, [email protected]
[email protected] wrote:

before_filter :login_required, :except => [ :action_x]

Under webrick, if someone that isn’t authenticated calls action_x, no
problem works as expected. Under mongrel + apache, it still thinks the
user needs to be authenticated.

Any ideas/suggestions?

Basically, acts_as_authenticated seems to be puking badly when used with
mongrel.

What do your logs say?

-ryan