DOKK / manpages / debian 10 / libplack-perl / Plack::Middleware::IIS6ScriptNameFix.3pm.en
Plack::Middleware::IIS6ScriptNameFix(3pm) User Contributed Perl Documentation Plack::Middleware::IIS6ScriptNameFix(3pm)

Plack::Middleware::IIS6ScriptNameFix - fixes wrong SCRIPT_NAME and PATH_INFO that IIS6 sets

  # in your app.psgi
  use Plack::Builder;
  builder {
    enable "IIS6ScriptNameFix";
    $app;
  };
  # Or from the command line
  plackup -s FCGI -e 'enable "IIS6ScriptNameFix"' /path/to/app.psgi

This middleware fixes wrong "SCRIPT_NAME" and "PATH_INFO" set by IIS6.

Florian Ragwitz

2018-02-14 perl v5.26.1