Re: (13)Permission denied: exec of ... failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
>> <mailto:scott@xxxxxxxxxxx>> 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@xxxxxxxxxxxxxxxx
>>     <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx>
>>        "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>>     <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx>
>>     For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>     <mailto:users-help@xxxxxxxxxxxxxxxx>
>>
>>
>>
>>
>> -- 
>> Steve Swift
>> http://www.swiftys.org.uk 
> 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux