Even with fix-root-scriptname, lighttpd still sets weird
SCRIPT_NAME and PATH_INFO if you mount your application at ""
or something that ends with /. Setting script_name option tells
the middleware how to reconstruct the new correct SCRIPT_NAME and
If you mount the app under /something/, you should set:
and when a request for /something/a/b?param=1 comes, SCRIPT_NAME becomes /something and PATH_INFO becomes /a/b.
script_name option is set to empty by default, which means all the request path is set to PATH_INFO and it behaves like your fastcgi application is mounted in the root path.
Plack::Handler::FCGI <http://github.com/plack/Plack/issues#issue/68> <https://redmine.lighttpd.net/issues/729>
|perl v5.20.3||PLACK::MIDDLEWARE::LIGHTTPDSCRIPTNAMEFIX (3)||2015-06-03|