i’ve been searching for weeks trying to find a solution to the error i get trying to run a perl CGI app on IIS 10 windows 10. i’m running activestate perl 5.38.2. The error is a 500.3 Bad Gateway when i try to bring up the script via http to my localhost server. I’ve set up the permissions/handler mappings (with a mapping script). I’ve removed activestate perl and ran strawberry perl and everything works just fine. i’ve removed strawberry perl and installed activestate 5.28 which also runs just fine. I’ve even downloaded the perl source and built it on my desktop using visual studio build tools (2022) and my CGI app runs without issue. while looking around the net i see discussions regarding a file for the isapi setup in iis called perlEX30.dll but i can’t find it anywhere on my activestate 5.38.2 build. any help with communicating to activestate that cgi “is not dead” and pointing me to a solution to this issue would be much appreciated.
it is a 500.2 error, not 500.3. it also includes the text “The specified CGI application misbehaved by not returning a complete set of HTTP headers.” and something about a permissions error.
If i remove the “use CGI:” from the script it will execute and yes i’ve tried giving iis_iusrs full permissions to the folder and cgi.pm. still getting same error. why does “every” other perl work but not active state. i will try and remove the activestate build of cgi and reinstall using cpan. since no one seems to post anything usefull on other posts with the same issue i’ll respond with my results in the near future. (i’m finding post from 15 years ago about this issue, and no solutions).