Sha256: 93153ed5a3404f37d066af4992a6765d1e0fae3c563764177a3bfa2042b839fd

Contents?: true

Size: 582 Bytes

Versions: 161

Compression:

Stored size: 582 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 "/".

  Since lighttpd 1.4.23, you also can use the "fix-root-scriptname" flag
  in fastcgi.server.

Version data entries

161 entries across 139 versions & 21 rubygems

Version Path
classiccms-0.6.0 vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
challah-0.8.1 vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
classiccms-0.5.17 vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
classiccms-0.5.16 vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
classiccms-0.5.15 vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
classiccms-0.5.14 vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
classiccms-0.5.13 vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
classiccms-0.5.12 vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
classiccms-0.5.11 vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
bitclust-core-0.5.3 vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/KNOWN-ISSUES
bitclust-core-0.5.3 vendor/bundle/ruby/1.9.1/gems/bitclust-core-0.5.1/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/KNOWN-ISSUES
bitclust-core-0.5.3 vendor/bundle/ruby/1.9.1/gems/bitclust-core-0.5.3/vendor/bundle/ruby/1.9.1/gems/bitclust-core-0.5.1/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/KNOWN-ISSUES
bitclust-core-0.5.3 vendor/bundle/ruby/1.9.1/gems/bitclust-core-0.5.3/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/KNOWN-ISSUES
challah-rolls-0.1.0 vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
challah-0.8.0.pre vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
challah-0.7.1 vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES
bitclust-core-0.5.2 vendor/bundle/ruby/1.9.1/gems/bitclust-core-0.5.1/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/KNOWN-ISSUES
bitclust-core-0.5.2 vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/KNOWN-ISSUES
classiccms-0.5.10 vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES