Path: | KNOWN-ISSUES |
Last Update: | Mon Feb 08 08:53:48 +0000 2021 |
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 "/".