public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Stewart (vericgar)" <vericgar@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  apache2 and suEXEC errors
Date: Wed, 07 Jun 2006 17:55:34 -0700	[thread overview]
Message-ID: <44877586.3020403@gentoo.org> (raw)
In-Reply-To: <87fyihva01.fsf@newsguy.com>

[-- Attachment #1: Type: text/plain, Size: 1386 bytes --]

reader@newsguy.com wrote:
> Running:
> single user machine for experimentation
> 
> I have apache setup to allow user public_html and allow cgi execution
> anywhere inside public_html.
> 
> The rub is that another cgi script causes a server error (posted
> further along)
> 
> I have apache2 set to loglevel debug, I have ran the problem cgi
> manually from cmdline and received no errors. 
> 
> It appears somethign isn't configured to allow suExec but I can't tell
> what.  I've made all settings that appeared to be related.  The cgi is
> chmod 755.
> 
> The log output seems too skimpy to see how to further debug this:
> 
> From /var/log/apache2/error_log
> ====
> [Tue Jun 06 23:23:49 2006] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/sbin/suexec2' failed
> [Tue Jun 06 23:23:49 2006] [error] [client 127.0.0.1] Premature end of script headers: index.cgi
> 
> 

The details of the error should be in /var/log/apache2/suexec_log

Also, the permission denied error for suexec2 itself is strange. What
are the permissions on suexec? They should be:
-rws--x---  1 root apache 15107 Jun  6 16:51 /usr/sbin/suexec2


-- 
Michael Stewart                                     vericgar@gentoo.org
Gentoo Developer                        http://dev.gentoo.org/~vericgar

GnuPG Key ID 0x08614788 available on http://pgp.mit.edu
--


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

  reply	other threads:[~2006-06-08  1:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-07  4:57 [gentoo-user] apache2 and suEXEC errors reader
2006-06-08  0:55 ` Michael Stewart (vericgar) [this message]
2006-06-08  6:44   ` [gentoo-user] " reader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44877586.3020403@gentoo.org \
    --to=vericgar@gentoo.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox