httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Imbaud <>
Subject [users@httpd] suexec2 setup on Suse 10.1
Date Wed, 27 Sep 2006 23:20:30 GMT
Hello, folks, Im trying to make apache2 work on my box with suexec2.
Not familiar with apache2 (but configured, and works fine so far), and
I guess my questions are somewhat naive.
Oh, Im on Suse 10.1, with apache2-2.2.0-21
First: do I have to recompile apache2 to have this working? On start,
I have [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
in my log.
apache2ctl -V|less
Server version: Apache/2.2.0
Server built:   May  2 2006 08:47:14
Server's Module Magic Number: 20051115:0
Architecture:   32-bit
Server MPM:     Prefork
   threaded:     no
     forked:     yes (variable process count)
Server compiled with....
  -D APACHE_MPM_DIR="server/mpm/prefork"
  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
  -D HTTPD_ROOT="/srv/www"
  -D SUEXEC_BIN="/usr/sbin/suexec2"
  -D DEFAULT_PIDLOG="/var/run/"
  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
  -D DEFAULT_LOCKFILE="/var/run/accept.lock"
  -D DEFAULT_ERRORLOG="/var/log/apache2/error_log"
  -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
  -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"

  suexec2 -V
  -D AP_DOC_ROOT="/srv/www"
  -D AP_GID_MIN=96
  -D AP_HTTPD_USER="wwwrun"
  -D AP_LOG_EXEC="/var/log/apache2/suexec.log"
  -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
  -D AP_UID_MIN=96
  -D AP_USERDIR_SUFFIX="public_html"

2nd question: do all compilation options, as documented in apache
documentation, like "--with-suexec-userdir=DIR", translate in these -D
options? And if not, is there a way to know after compilation which
options have been chosen?

3rd question: a lot of conditions must be fulfilled before suexec
(suexec2 here) is even accessed. Who does log what, in which log
files? specifically, is the suexec logfile written only by suexec?
do I find account for errors prior to launching suexec in the normal
log file?

Thanks in advance for any help.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message