ich bin verzweifelt:
ich habe apache 2.0.48 mit suexec installiert. php geht auch.
Code: Select all
e --with-mpm=prefork --enable-vhost-alias --prefix=/srv/www --enable-modules="so http" --enable-mods-shared="info status cern_meta usertrack asis include autoindex imap alias auth auth_anon auth_digest access cache mem_cache file-cache cgi cgid dir env ext_filter expires headers file_cache log_config mime mime_magic negotiation rewrite speling actions userdir setenvif ssl define agent_log referer_log digest unique_id" --enable-deflate --silent --enable-static-support --enable-suexec --with-suexec-docroot=/home/www --with-suexec-logfile=/var/log/httpd/suexec.log --with-suexec-bin=/srv/www/bin --with-suexec-userdir=html --with-suexec-caller=wwwrun --with-sysconfigdir=/etc/httpd --with-logfiledir=/var/log/httpd --with-suexec-uidmin=30 --with-suexec-gidmin=8
im error.log steht nur
Code: Select all
[Fri Feb 27 11:20:06 2004] [error] [client x.x.x.x] Premature end of script headers: mein-skript.cgi
In der confixx_vhosts.conf habe ich in jedem virtaul host folgendes (die ip habe ich ausge-x-t) :
Code: Select all
<VirtualHost x.x.x.x:80>
ServerName meine-domain.de
ServerAlias www.meine-domain.de
DocumentRoot /home/www/web22/html
SuexecUserGroup web22 ftponly
ScriptAlias /cgi-bin/ /home/www/web22/html/cgi-bin/
php_admin_value open_basedir /home/www/web22/
php_admin_value upload_tmp_dir /home/www/web22/phptmp/
<Directory "/home/www/web22/html/*">
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/httpd/error_log
CustomLog /home/www/web22/log/access_log common
</VirtualHost>