On 6/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Running Gentoo Linux -kernel 2.6.16
Apache/2.0.58

I'm getting the dread 'Premature end of script headers: index.cgi'
and another along with it saying suexec failed due to :
  Permission denied: exec of '/usr/sbin/suexec2' failed

I think I've checked all the items needed for suEXEC to work but
apparently I'm missing something vital.

All documentation on the subject suggest to read suexec log for
guidance.   I'm not getting any logging from suexec.

Compile time option show it should be loggging at:
  -D AP_LOG_EXEC="/var/log/apache2/suexec_log"

But it isn't logging there or anywhere else under /var/log.

I do see the suexec enabled message on apache startup, in its logs.

How can I debug further with no help from suexec2?

It is not the logging that is failing but the launch of suexec.  What
are the permissions on suexec2 and what user is apache being launched
as?  Are you running SELinux or something similar?

Some extra info on the config can be obtained from httpd -V and suexec
-V (run as root).

Joshua.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to