1Plack::Middleware::IIS6USscerripCtoNnatmreiFbiuxt(e3d)PPelralckD:o:cMuimdednlteawtairoen::IIS6ScriptNameFix(3)
2
3
4
6 Plack::Middleware::IIS6ScriptNameFix - fixes wrong SCRIPT_NAME and
7 PATH_INFO that IIS6 sets
8
10 # in your app.psgi
11 use Plack::Builder;
12
13 builder {
14 enable "IIS6ScriptNameFix";
15 $app;
16 };
17
18 # Or from the command line
19 plackup -s FCGI -e 'enable "IIS6ScriptNameFix"' /path/to/app.psgi
20
22 This middleware fixes wrong "SCRIPT_NAME" and "PATH_INFO" set by IIS6.
23
25 force
26 By default, this middleware checks if "SERVER_SOFTWARE" PSGI
27 environment matches what Microsoft IIS server 6-9 would set for
28 FastCGI. By setting "force" to true (1), this middleware always
29 applies the fix, regardless of the "SERVER_SOFTWARE" string.
30
31 Use this option if the environment is broken similar to IIS, or if
32 the IIS is updated and the regular expression in this module
33 doesn't match any more e.g. you're running IIS 10.
34
36 Florian Ragwitz
37
38
39
40perl v5.36.0 2022-0P9l-a1c2k::Middleware::IIS6ScriptNameFix(3)