@StevePlease move the bin folder back to where it was originally before attempting the below test.
I decided to test the above hack for myself so I could confirm what had already been established, that it indeed worked.
(
Your paths may be different so adjust as required).
1. First I copied the contents of the
G:\xampp\perl folder to a newly created
G:\usr folder.
2. Renamed the
G:\xampp\perl folder to
G:\xampp\perladdon3. Changed the path in
G:\xampp\apache\conf\extra\perl.conf file from
/xampp/perl to
/usr on the first line only.
4. Change the shebang in
G:\xampp\cgi-bin\perltest.cgi from
#!"G:\xampp\perl\bin\perl.exe" to
#!/usr/bin/perl.exe5. Started Apache - it started without errors.
6. Went to
http://locahost/cgi-bin/perltest.cgi The
perltest.cgi worked as expected and returned the expected script's contents:
CGI with MiniPerl
CGI with MiniPerl is ready ...7. I then tested it with several of my production cgi scripts after changing the shebang and all worked as expected at localhost - not tested on a remote server but they should work fine as the shebang is now the same as for a remote apache server.
So after testing the above I can see no reason at this time that it would not work for you.
Let me know if you can follow the above and if it worked for you with the result that you was seeking.