Unable to include potential exe

Error trying to include
[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

  • 144 Users Found This Useful

Was this answer helpful?

Related Articles

Where should I put CGI scripts?

CGI scripts can be placed in any directory on your account. They are typically placed into the...

Can you write a cgi script for me?

We do not write scripts but will be more than happy to guide you in the right direction. Most of...

What version of Perl is installed?

You can view the version of Perl that is installed by opening up the control panel and in the...

How to pass variables from one html page to another

To pass a variable from one form to another this can be performed a couple of ways. The easist is...

Where can I get other CGI Scripts?

Some great sites for downloading scripts... http://www.CGI-Resources.com http://www.CGIDir.com