exec used but not allowed

3 posts / 0 new
Last post
#1 Wed, 05/27/2009 - 18:21
jahlewis

exec used but not allowed

I'm having a problem executing cgi-bin scripts from SSI calls within shtml pages. Standard SSI's work...

The code in the html page is:

<!--#exec cgi="/cgi-bin/count"-->

/home/vrsdc/cgi-bin has the following:

-rwxr-xr-x 1 vrsdc vrsdc 1062 May 27 23:15 count

Apache error logs show:

[Wed May 27 23:16:05 2009] [error] [client 208.33.154.168] exec used but not allowed in /home/vrsdc/public_html/index.html

Ideas?

Wed, 05/27/2009 - 18:28
andreychek

Sounds like in the Apache VirtualHost config, you have &quot;IncludesNOEXEC&quot; in the options line -- if you change that to just &quot;Includes&quot; and restart Apache, it should do what you're after.
-Eric

Wed, 05/27/2009 - 18:42 (Reply to #2)
jahlewis

That was it. Thanks.

Now I have to go figure out what it means, and what the risks are to disable it...

Topic locked