1 |
reader@×××××××.com wrote: |
2 |
> Running: |
3 |
> single user machine for experimentation |
4 |
> |
5 |
> I have apache setup to allow user public_html and allow cgi execution |
6 |
> anywhere inside public_html. |
7 |
> |
8 |
> The rub is that another cgi script causes a server error (posted |
9 |
> further along) |
10 |
> |
11 |
> I have apache2 set to loglevel debug, I have ran the problem cgi |
12 |
> manually from cmdline and received no errors. |
13 |
> |
14 |
> It appears somethign isn't configured to allow suExec but I can't tell |
15 |
> what. I've made all settings that appeared to be related. The cgi is |
16 |
> chmod 755. |
17 |
> |
18 |
> The log output seems too skimpy to see how to further debug this: |
19 |
> |
20 |
> From /var/log/apache2/error_log |
21 |
> ==== |
22 |
> [Tue Jun 06 23:23:49 2006] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/sbin/suexec2' failed |
23 |
> [Tue Jun 06 23:23:49 2006] [error] [client 127.0.0.1] Premature end of script headers: index.cgi |
24 |
> |
25 |
> |
26 |
|
27 |
The details of the error should be in /var/log/apache2/suexec_log |
28 |
|
29 |
Also, the permission denied error for suexec2 itself is strange. What |
30 |
are the permissions on suexec? They should be: |
31 |
-rws--x--- 1 root apache 15107 Jun 6 16:51 /usr/sbin/suexec2 |
32 |
|
33 |
|
34 |
-- |
35 |
Michael Stewart vericgar@g.o |
36 |
Gentoo Developer http://dev.gentoo.org/~vericgar |
37 |
|
38 |
GnuPG Key ID 0x08614788 available on http://pgp.mit.edu |
39 |
-- |