Gentoo Archives: gentoo-user

From: reader@×××××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] apache2 and suEXEC errors
Date: Wed, 07 Jun 2006 05:06:04
Message-Id: 87fyihva01.fsf@newsguy.com
1 Running:
2 single user machine for experimentation
3
4 I have apache setup to allow user public_html and allow cgi execution
5 anywhere inside public_html.
6
7 The rub is that another cgi script causes a server error (posted
8 further along)
9
10 I have apache2 set to loglevel debug, I have ran the problem cgi
11 manually from cmdline and received no errors.
12
13 It appears somethign isn't configured to allow suExec but I can't tell
14 what. I've made all settings that appeared to be related. The cgi is
15 chmod 755.
16
17 The log output seems too skimpy to see how to further debug this:
18
19 >From /var/log/apache2/error_log
20 ====
21 [Tue Jun 06 23:23:49 2006] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/sbin/suexec2' failed
22 [Tue Jun 06 23:23:49 2006] [error] [client 127.0.0.1] Premature end of script headers: index.cgi
23
24
25 --
26 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] apache2 and suEXEC errors "Michael Stewart (vericgar)" <vericgar@g.o>