First, I recently switched from Mandrake to Redhat 9.0 and httpd-2.0.40-21
I am trying to run a script which requires root privileges.
The script is located in /var/www/cgi-bin/
I ran chmod a-s myscript.cgi to my script
In my httpd.conf I have
So I ran the following commands:
chgrp apache /usr/sbin/suexec
chmod 4750 /usr/sbin/suexec
(It says to do this at http://httpd.apache.org/docs-2.0/suexec.html
I have added the following line to httpd.conf:
LoadModule suexec_module modules/mod_suexec.so
When I start apache, I get the following in my error log:
[Wed Dec 03 15:25:26 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations
[Wed Dec 03 15:26:18 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
I have found a thread with a similar problem, but their solution was to install a src rpm. I would prefer to not have to reinstall.
Thank you for your time.