You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Domenico Actis Grosso <ne...@tiscali.it> on 2003/10/13 01:05:25 UTC

[users@httpd] Suexec problem

Hi to all , i've a "little" problem starting suexec .....

I've installed on a server httpd-2.0.40-21.5.i386.rpm enabling on it mod_suexec .

On another pc i've installed httpd-2.0.40-21.5.src.rpm , configured httpd.spec file and builded with suexec doc root   /home/webusers (under this tree i have my vhost dir )

vhost 1 : username pippo ----> homedir /home/webusers/homepippo (and under this ther is cgi dir)

ecc

when i have built my rpm again , i've installed the rpm on this "try"Pc and copied suexec on server . 

But doesn't works............... log file empty .......................yet checked suexec doc..


Help me , what should i do ?

 httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

httpd -V
Server version: Apache/2.0.40
Server built:   Jul 31 2003 11:36:14
Server's Module Magic Number: 20020628:0
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

suexec -V
 -D AP_DOC_ROOT="/home/webusers"
 -D AP_GID_MIN=500
 -D AP_HTTPD_USER="apache"
 -D AP_LOG_EXEC="/var/log/httpd/suexec.log"
 -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
 -D AP_UID_MIN=500
 -D AP_USERDIR_SUFFIX="public_html"


thanks 

Re: [users@httpd] Suexec problem

Posted by Domenico Actis Grosso <ne...@tiscali.it>.
sorry for html . now plain text :_(
  ----- Original Message ----- 
  From: Domenico Actis Grosso 
  To: users@httpd.apache.org 
  Sent: Monday, October 13, 2003 1:05 AM
  Subject: [users@httpd] Suexec problem


  Hi to all , i've a "little" problem starting suexec .....

  I've installed on a server httpd-2.0.40-21.5.i386.rpm enabling on it mod_suexec .

  On another pc i've installed httpd-2.0.40-21.5.src.rpm , configured httpd.spec file and builded with suexec doc root   /home/webusers (under this tree i have my vhost dir )

  vhost 1 : username pippo ----> homedir /home/webusers/homepippo (and under this ther is cgi dir)

  ecc

  when i have built my rpm again , i've installed the rpm on this "try"Pc and copied suexec on server . 

  But doesn't works............... log file empty .......................yet checked suexec doc..


  Help me , what should i do ?

   httpd -l
  Compiled in modules:
    core.c
    prefork.c
    http_core.c
    mod_so.c

  httpd -V
  Server version: Apache/2.0.40
  Server built:   Jul 31 2003 11:36:14
  Server's Module Magic Number: 20020628:0
  Architecture:   32-bit
  Server compiled with....
   -D APACHE_MPM_DIR="server/mpm/prefork"
   -D APR_HAS_SENDFILE
   -D APR_HAS_MMAP
   -D APR_HAVE_IPV6
   -D APR_USE_SYSVSEM_SERIALIZE
   -D APR_USE_PTHREAD_SERIALIZE
   -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
   -D APR_HAS_OTHER_CHILD
   -D AP_HAVE_RELIABLE_PIPED_LOGS
   -D HTTPD_ROOT="/etc/httpd"
   -D SUEXEC_BIN="/usr/sbin/suexec"
   -D DEFAULT_PIDLOG="logs/httpd.pid"
   -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
   -D DEFAULT_LOCKFILE="logs/accept.lock"
   -D DEFAULT_ERRORLOG="logs/error_log"
   -D AP_TYPES_CONFIG_FILE="conf/mime.types"
   -D SERVER_CONFIG_FILE="conf/httpd.conf"

  suexec -V
   -D AP_DOC_ROOT="/home/webusers"
   -D AP_GID_MIN=500
   -D AP_HTTPD_USER="apache"
   -D AP_LOG_EXEC="/var/log/httpd/suexec.log"
   -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
   -D AP_UID_MIN=500
   -D AP_USERDIR_SUFFIX="public_html"


  thanks