On Sat, 2006-09-02 at 18:28 +0200, jim dandy wrote:> We are running Apache and Mongrel on RHEL4 and have been experiencing
> some interesting behaivor. Sometimes when someone logs into our
> application (it uses the acts_as_authencticaed and acl_system2) the
> following happens. Instead of the browser rendering the html and
> displaying all the form elements corretly as you would expect, it simple
> spews back the output without attempting to render. So you get something
> like this:
>
> HTTP/1.1 0 Content-Length: 7636
> Connection: close
> Date: Sat, 02 Sep 2006 14:10:38 GMT
> Set-Cookie: device_id=; path=/; expires=Sun, 02 Sep 2007 14:10:38 GMT
> Set-Cookie: _session_id=85d7a3c296268e0222cb796127da9c43; path=/
> Status: status500
> Cache-Control: no-cache
> Server: Mongrel 0.3.13.3
> Content-Type: text/html
Yep, see your "Status: status500" line? It means you messed up in a
render or redirect call and that gave an invalid status. Apache then
mangles the hell out of your reponse.
Go look at that rails action and re-read the docs on the render/redirect
action you''re calling. You probably have a parameter out of alignment.
--
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---