[feature] Introduce server_software option to make LighttpdScriptNameFix more generic?
XSven opened this issue · 1 comments
XSven commented
The challenge that leads to the LighttpdScriptNameFix
Plack middleware seems to be applicable to the Apache webserver too under certain circumstances. Unfortunately the SERVER_SOFTWARE condition does not allow me to use this middleware unless I am overwriting the SERVER_SOFTWARE using the ForceEnv
middleware. Maybe a server_software
option (defaults to lighttpd) could be introduced that makes LighttpdScriptNameFix
more generic.
miyagawa commented
This middleware is roughly 10 lines of code and has not been changed for 10 years. I recommend you to copy it to a different piece of middleware and include it in your application.