Unable to include potential exec

Solution

[Mon March 13 12:11:27 2009] [error] [client XX.XX.XX.XX] unable to include potential exec “/cgi-bin/script.cgi” in parsed file “/public_html/file.html”
Including executables are no longer allowed by default. IncludesNOEXEC is now the default, SSI includes are now disabled by default the Options -IncludesNoExec directive. This is due to server abuse. We recommend using PHP coding wherever possible. If using cgi includes is necessary you may enable the includes via :
Create/edit the .htaccess file to permit the execution of CGI programs with the following options:
Options +Includes +ExecCGI
AddHandler cgi-script .cgi .pl

Leave a Comment