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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Rails development env, LSAPI, white screen on redirects

Reply
 
Thread Tools Display Modes
  #1  
Old 09-17-2007, 12:44 PM
inspirix inspirix is offline
Member
 
Join Date: Sep 2006
Posts: 25
Question Rails development env, LSAPI, white screen on redirects

Im having some odd issue where redirects in the development environment result in a white page rendered and the logs show that the redirect was not followed (redirected to action never hit).

This is with 3.2.2 and ruby-lsapi 2.7, in rails development environment

Production does not seem to have the same issue. Is this a known issue, or configuration issue?
Reply With Quote
  #2  
Old 09-17-2007, 12:59 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
The only difference between production and development environment is how RAILS_ENV as populated.
So, if it works with production environment but not for development, I think it is a rails internal issue.
Reply With Quote
  #3  
Old 09-17-2007, 02:45 PM
inspirix inspirix is offline
Member
 
Join Date: Sep 2006
Posts: 25
Quote:
Originally Posted by mistwang View Post
The only difference between production and development environment is how RAILS_ENV as populated.
So, if it works with production environment but not for development, I think it is a rails internal issue.

If I turn off Gzip compression completely at the server level the issue doesnt seem to happen. Are there specific recommended gzip setting for use with rails?

Also to be noted, to make this even stranger, Safari did NOT have the problem with gzip ON. Firefox was not following redirects with gzip on though (white screen).

With gzip OFF everything works as expected in the logs and using both safari and firefox. Sounds like a bunch of odd contributing factors. If you do have any knowledge though of gzip having odd effects and how to fix though, that would be excellent.
Reply With Quote
  #4  
Old 09-17-2007, 03:20 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Rails app dumps some debug information before sending out the response header I guess.
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 09:51 AM.



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