trevor_o...@yahoo.co.uk Aug 4, 12:55 am show options
Newsgroups: alt.apache.configuration
From: trevor_o...@yahoo.co.uk - Find messages by this author
Date: 3 Aug 2005 16:55:26 -0700
Local: Thurs, Aug 4 2005 12:55 am
Subject: apache suexec
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse
I compiled apache 1.3.33 with suexec support like
./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache" \
"--enable-module=ssl" \
"--activate-module=src/modules/php4/libphp4.a" \
"--activate-module=src/modules/perl/libperl.a" \
"--enable-module=perl" \
"--enable-module=most" \
"--enable-suexec" \
"--suexec-uidmin=100" \
"--suexec-gidmin=100" \
"--suexec-userdir=public_html" \
"--suexec-caller=nobody" \
"--suexec-logfile=/wallaby-local/apache/logs/suexec_log" \
Everthing is working fine, when I run a cgi script through web it is
suexec wrappered and only runs as the user who own the script,
but I run php script is not being suexec wrapper and runs as the user
nobody which is a security risk.
How do I enable PHP being executed through suexec? I do no mind compiling apache again.
Can you help? please