httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Temme <scte...@apache.org>
Subject Re: [users@httpd] (13)Permission denied: exec of ... failed
Date Thu, 19 Apr 2007 13:42:54 GMT
Scott Dudley wrote:
> 
> 
> Steve Swift wrote:
>> Does the file which failed to execute contain a #! (shebang) pointing
>> at an executable that apache cannot execute?
> No.  It's a static HTML.

Looks like your web server is trying to execute the file, possibly
because it's under your ScriptAlias directory.

Put static HTML outside your ScriptAlias.

S.

>>
>> On 19/04/07, *Scott Dudley* < scott@sdudley.com
>> <mailto:scott@sdudley.com>> wrote:
>>
>>
>>     I'm working on a friend's FC 3 server running Apache/2.0.54.
>>
>>     We're getting the following error accessing
>>     http://domain/cgi-bin/subdir/index.html:
>>
>>     (13)Permission denied: exec of
>>     '/www/docs/domain/cgi-bin/subdir/index.html' failed
>>
>>     Permissions all appear correct:
>>
>>     drwxr-xr-x  20 apache apache 4096 Apr 19 01:07 cgi-bin/
>>     drwxr-xr-x  10 apache apache 4096 Apr 19 00:35 cgi-bin/subdir/
>>     -rw-r--r--  1 apache apache 15 Apr 19 00:43 cgi-bin/subdir/index.html
>>
>>     No suExec and SELinux is disabled.
>>
>>     We can execute CGI's placed in the top-most cgi-bin directory but
>>     cannot
>>     seem to access any contents located deeper in that tree.
>>
>>     What am I missing?
>>
>>     --
>>     Regards,
>>
>>     Scott Dudley
>>
>>
>>     ---------------------------------------------------------------------
>>     The official User-To-User support forum of the Apache HTTP Server
>>     Project.
>>     See <URL: http://httpd.apache.org/userslist.html> for more info.
>>     To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>     <mailto:users-unsubscribe@httpd.apache.org>
>>        "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>     <mailto:users-digest-unsubscribe@httpd.apache.org>
>>     For additional commands, e-mail: users-help@httpd.apache.org
>>     <mailto:users-help@httpd.apache.org>
>>
>>
>>
>>
>> -- 
>> Steve Swift
>> http://www.swiftys.org.uk 
> 


Mime
View raw message