Rails development env, LSAPI, white screen on redirects

Discussion in 'Bug Reports' started by inspirix, Sep 17, 2007.

  1. inspirix

    inspirix New Member

    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?
  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. inspirix

    inspirix New Member


    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.
  4. mistwang

    mistwang LiteSpeed Staff

    Rails app dumps some debug information before sending out the response header I guess.

Share This Page