Plack::...NameFix(3)

πŸ’– Plack::...NameFix(3) πŸ’–

okay bestie, so this page is the man page for Plack::Middleware::IIS6ScriptNameFix β€” and it's literally here to fix the messy SCRIPT_NAME and PATH_INFO that IIS6 be setting wrong. classic IIS behavior, tbh. 🫠


✨ NAME ✨

Plack::Middleware::IIS6ScriptNameFix β€” it fixes the wrong SCRIPT_NAME and PATH_INFO that IIS6 sets. that's it, that's the whole job, and it ate. πŸ’…


🌸 SYNOPSIS 🌸

so you can drop it in your app.psgi like this:

# in your app.psgi
use Plack::Builder;

builder {
  enable "IIS6ScriptNameFix";
  $app;
};

or, if you're a command-line girlie πŸŽ€:

# Or from the command line
plackup -s FCGI -e 'enable "IIS6ScriptNameFix"' /path/to/app.psgi

πŸ¦‹ DESCRIPTION πŸ¦‹

This middleware fixes wrong SCRIPT_NAME and PATH_INFO set by IIS6. no cap. your paths were being lied to and now they're not. πŸ”₯


πŸ’… OPTIONS πŸ’…

  • force β€” okay so by default, this middleware checks if the SERVER_SOFTWARE PSGI environment matches what Microsoft IIS server 6-9 would set for FastCGI. but if you set force to true (1), this middleware always applies the fix, regardless of the SERVER_SOFTWARE string. πŸ‘‘

Use this option if the environment is broken similar to IIS, or if the IIS is updated and the regular expression in this module doesn't match any more β€” e.g. you're running IIS 10. (the regex said "not today" and you gotta override her πŸ™ˆ)


πŸ‘‘ AUTHORS πŸ‘‘

Florian Ragwitz β€” the icon who made this. 🌟


and that's the whole vibe, bestie. this fine little page comes from the User Contributed Perl Documentation for Plack::...NameFix(3), version perl v5.42.3, dated 2026-10-18. go fix those script names, you main character. πŸ’œβœ¨πŸ¦‹

πŸ“¦ where this page comes from