LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > Rails error messages are returned with status 200 instead of 500

Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2006, 01:06 AM
andreas andreas is offline
Senior Member
 
Join Date: Aug 2006
Posts: 91
Default Rails error messages are returned with status 200 instead of 500

The "Application Error (Rails)" page is returned with status=200, it should be 500. It works correctly with mongrel.
Reply With Quote
  #2  
Old 10-13-2006, 07:26 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
I tried this, the my founding is interesting.
I made some error in a controler code intentionally, so rails will produce a 500 Error page. When I run it in development mode, both mongrel and litespeed return 500 page, however, when I switch to production mode, rails return a page with 200, for both mongrel and litespeed, seems the old controler code without the error was used.
It is a rails issue I think.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:13 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.