httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petr Hracek <>
Subject [users@httpd] Running script CGI with IncludesNOEXEC
Date Fri, 13 Jan 2012 08:54:03 GMT
Dear user,

I have a question.
I need to run from my page CGI script but in the /var/log/apache2/error_log
I see:
[Fri Jan 13 10:12:45 2012] [error] [client] unable to
include potential exec "./testdiag.cgi" in parsed file

in the configuration file is mentioned:
<Directory /opt/apache2/htdocs/>
    Options IncludesNOEXEC -MultiViews -FollowSymLinks
    Order deny,allow
    Allow from all

AddHandler cgi-script .cgi
AddHandler server-parsed .shtml
<FilesMatch "\.(cgi|cgi.en_US|$">
    Options +ExecCGI -MultiViews -FollowSymLinks

in the apache2 documentation is mentioned:
    Server-side includes are permitted, but the #exec cmd and #exec
cgi are disabled. It is still possible to #include virtual CGI scripts
from ScriptAliased directories.

How to do that so that CGI script will work
My CGI  script has of course permissions 750

Best Regards / S pozdravem
Petr Hracek

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message