Sha256: 0c32df04d077153a0f39e3b122a351b0d96acc0646e9b21456cf15212c0ce2cf

Contents?: true

Size: 487 Bytes

Versions: 72

Compression:

Stored size: 487 Bytes

Contents

= Known issues with Rack and Web servers

* Lighttpd sets wrong SCRIPT_NAME and PATH_INFO if you mount your
  FastCGI app at "/".  This can be fixed by using this middleware:

    class LighttpdScriptNameFix
      def initialize(app)
        @app = app
      end

      def call(env)
        env["PATH_INFO"] = env["SCRIPT_NAME"].to_s + env["PATH_INFO"].to_s
        env["SCRIPT_NAME"] = ""
        @app.call(env)
      end
    end

  Of course, use this only when your app runs at "/".

Version data entries

72 entries across 72 versions & 19 rubygems

Version Path
relevance-castronaut-0.4.6 vendor/rack/KNOWN-ISSUES
relevance-castronaut-0.5.0 vendor/rack/KNOWN-ISSUES
relevance-castronaut-0.5.1 vendor/rack/KNOWN-ISSUES
relevance-castronaut-0.5.2 vendor/rack/KNOWN-ISSUES
relevance-castronaut-0.5.3 vendor/rack/KNOWN-ISSUES
relevance-castronaut-0.5.4 vendor/rack/KNOWN-ISSUES
relevance-castronaut-0.6.0 vendor/rack/KNOWN-ISSUES
relevance-castronaut-0.6.1 vendor/rack/KNOWN-ISSUES
relevance-castronaut-0.7.4 vendor/rack/KNOWN-ISSUES
relevance-castronaut-0.7.5 vendor/rack/KNOWN-ISSUES
technomancy-rack-0.3.0 KNOWN-ISSUES
timocratic-rack-1.0.0 KNOWN-ISSUES
nbudin-castronaut-0.7.5 vendor/rack/KNOWN-ISSUES
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/rack-0.4.0/KNOWN-ISSUES
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/rack-0.4.0/KNOWN-ISSUES
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/rack-0.4.0/KNOWN-ISSUES
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/rack-0.4.0/KNOWN-ISSUES
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/rack-0.4.0/KNOWN-ISSUES
middleman-0.12.2 lib/middleman/vendor/gems/gems/rack-1.0.1/KNOWN-ISSUES
middleman-0.12.1 lib/middleman/vendor/gems/gems/rack-1.0.1/KNOWN-ISSUES