I've downloaded sample proxy.cgi file from here. I've placed it in Apache's cgi-bin directory. However, whenever I try to access it, it throws the error Can't find string terminator '"' anywhere before EOF at C:/dev_/dev_php/sws/xampp/cgi-bin/proxy.cgi line 80.\r. I'm using MS Windows and I've updated the first line of the CGI file to reflect my settings, i.e., to #!"C:\dev_\dev_php\sws\xampp\perl\bin\perl.exe".
All the cgi files in the same directory execute fine. Is it that I'm using an outdated proxy file? I'm using Apache 2.2.21.