How to run cgi/perl file outside cgi-bin in cpanel server?

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

 

 

Both comments and pings are currently closed.

Comments are closed.