I'm having lots of trouble getting the CGI to work for users. The current Debian-Apache release (1.3.1-3) is never happy with my suexec binary.. >From the Debian sources, apache appears to be compiled with suexec support.. I even tried compiling it myself w/ Debian's sources, and it still didn't work... What am I doing wrong? Can anyone help?
Here is a script to build suexec (since I've built it so many times): --- build-suexec --- #!/bin/sh SUEXEC=/usr/lib/apache/suexec echo -n "Building SUEXEC..." cd /usr/doc/apache gzip -dc suexec.c.gz > suexec.c gcc -O2 suexec.c -o suexec -I /usr/include/apache-1.3 mv suexec $SUEXEC chown root.root $SUEXEC chmod 4711 $SUEXEC echo " done." echo -n "Checking SUID Manager..." test -e /etc/suid.conf.tmp && rm /etc/suid.conf.tmp grep -v "$SUEXEC" /etc/suid.conf > /etc/suid.conf.tmp echo "apache $SUEXEC root root 4711" >> /etc/suid.conf.tmp chown root.root /etc/suid.conf.tmp chmod 644 /etc/suid.conf.tmp mv /etc/suid.conf.tmp /etc/suid.conf echo " done." /etc/init.d/apache restart --- eof --- I've also tried getting "libapache-mod-perl" to work... I'm not sure if that module allows users to execute perl or not (?). It doesn't seem to be working either. I double checked the configuration file for the module, and it is there. Can anyone help? Thanks -Paul