On Tue, Oct 23, 2001 at 11:21:52PM -0400, Greg Ames wrote: + john sachs wrote: + > all cgis fail with: + > [Tue Oct 23 14:04:33 2001] [error] [client 127.0.0.1] Premature end of script +headers: /home/john/public_html/suexec.cgi + + yeah, that message sucks canal water. It's about the only thing we log + if a cgi blows up in 2.0. We need to do something better.
still happening with current apache, just cvs up'd oct24 about 9:30a. + 1. What does ls -l show for the suexec binary? It's probably in + <prefix>/bin/ [john@doom:~/ap2/apache-2.0-suexec] ./bin/httpd -V Server version: Apache/2.0.27-dev Server built: Oct 24 2001 09:30:53 Server's Module Magic Number: 20011002:0 Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_FILE_BASED_SHM -D APR_HAS_MMAP -D APR_HAVE_IPV6 -D APR_USE_FCNTL_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="/home/john/ap2/apache-2.0-suexec" -D SUEXEC_BIN="/home/john/ap2/apache-2.0-suexec/bin/suexec" -D DEFAULT_ERRORLOG="logs/error_log" -D SERVER_CONFIG_FILE="conf/httpd.conf" [john@doom:~/ap2/apache-2.0-suexec] ls -l /home/john/ap2/apache-2.0-suexec/bin/suexec -rwsr-xr-x 1 root root 48557 Oct 24 09:55 /home/john/ap2/apache-2.0-suexec/bin/suexec* [john@doom:~/ap2/apache-2.0-suexec] + + 2. Do "strings httpd | grep <prefix>" . You should see some suexec + related stuff. Does it look right? + looks right to me. [john@doom:~/ap2/apache-2.0-suexec] strings ./bin/httpd |grep /home/john/ap2/apache-2.0-suexec /home/john/ap2/apache-2.0-suexec/lib -D HTTPD_ROOT="/home/john/ap2/apache-2.0-suexec" -D SUEXEC_BIN="/home/john/ap2/apache-2.0-suexec/bin/suexec" /home/john/ap2/apache-2.0-suexec /home/john/ap2/apache-2.0-suexec/htdocs /home/john/ap2/apache-2.0-suexec/bin/suexec + 3. Is there anything in the suexec log? suexec log does not exist. -j
