Suexec ist installiert und wird auch gestartet, siehe error_log
Code: Select all
[Sun Sep 05 01:27:40 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)Code: Select all
User wwwrun
Group wwwCode: Select all
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName www.xxxxxx.de
DocumentRoot /srv/www/htdocs/web0/html
SuexecUserGroup web0 ftponly
ScriptAlias /cgi-bin/ /srv/www/htdocs/web0/html/cgi-bin/
php_admin_value open_basedir /srv/www/htdocs/web0/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /srv/www/htdocs/web0/phptmp/
php_admin_flag safe_mode Off
</VirtualHost>Schalte ich safe_mode off, geht natürlich alles. Dabei wird das Verzeichniss bzw. die Bilder mit User/Group wwwrun/www angelegt.
suexec2 -V sagt:
Code: Select all
-D AP_DOC_ROOT="/srv/www/htdocs"
-D AP_GID_MIN=96
-D AP_HTTPD_USER="wwwrun"
-D AP_LOG_EXEC="/var/log/apache2/suexec.log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=96
-D AP_USERDIR_SUFFIX="public_html"Thx for help