To run cgi/perl file outside cgi-bin in cPanel server you will need to add following lines in .htaccess files so it executes cgi scripts in any folder outside cgi-bin folder.
AddHandler cgi-script .pl .cgi
Options Includes ExecCGI
To run cgi/perl file outside cgi-bin in cPanel server you will need to add following lines in .htaccess files so it executes cgi scripts in any folder outside cgi-bin folder.
AddHandler cgi-script .pl .cgi
Options Includes ExecCGI