Ok, my confusion was not well stated.
When you install apache from the ports collection you can configure it
to install with suexec, however I did not do this.
How do I add it to the install of Apache?
I was going to just reistall (reinstalling is less desireable) apache...
# cd /usr/ports/www/apache21/work/httpd-2.0.48/
# make deinstall
make: don't know how to make deinstall. Stop
I see the suexec in the ports collection...
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.c
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.h
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.la
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.lo
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.o
but I don't know how to get it installed.
Is there a simple way to upgrade apache with new arguments?
I did try to do...
make clean
../configure --enable-suexec --datadir=/usr/home
make -DWITH_SUEXEC
make install
then I did:
# httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
And searched for the mod_suexec.so file, it didn't exist.
I'm obviously missing something here.
I admit that I do not understand the ports collection well, and so I do
not know exactly what to do... do I need a clean world first?
Lost and confused,
Mat
Davide Bianchi wrote:
> Matthew Bailey <mbailey.DeleteThis@pirho.com> wrote:
>
>>load the mod_suexec.so from httpd.conf, but mod_suexec.so does not exist
>>on my box)
>
>
> Well, you compile it or get a precompiled binary.
> Davide
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: suexec