How do I ignore the Perl shebang on Windows with Apache 2?

I use #!/usr/bin/perl in my scripts and configure Apache on Windows to ignore the shebang line. Add ScriptInterpreterSource Registry-Strict to your httpd.conf and set up the Windows Registry key as explained in the Apache docs. Here is what I get when I export the key: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.pl\Shell\ExecCGI\Command] @=”c:\\opt\\perl\\bin\\perl.exe” I have been … Read more