Hallo Mario,
Mario Ohnewald schrieb:
ich versuch nun schon seit Wochen verzweifelt das suexec mit apache2 zum
laufen zu bekommen.
[...]
Aus meiner /etc/apache2/confixx_vhost.conf:
----------------------------------------------
UseCanonicalName Off
php_admin_flag safe_mode On
php_admin_value safe_mode_exec_dir /home/www/empty/
LogFormat "%V:#:%h %l %u %t \"%r\" %s %b \"%{Referer}i\"
\"%{User-agent}i\"" confixx
LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
confixx2
CustomLog |/root/confixx/pipelog.pl confixx
.
.
.
.
<VirtualHost 123.123.224.29:80>
ServerName host.com
ServerAlias www.host.com
DocumentRoot /home/www/web7/html/joomla
SuexecUserGroup web7 web7
ScriptAlias /cgi-bin/ /home/www/web7/html/cgi-bin/
<IfModule mod_python.c>
<Files ~ "\.py$">
AddHandler python-program .py
PythonHandler mod_python.publisher
</Files>
</IfModule>
php_admin_value
open_basedir
/home/www/web7/html/:/home/www/web7/phptmp/:/home/www/web7/files/:/home/www/web7/atd/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /home/www/web7/phptmp/
</VirtualHost>
Weder in
/var/log/apache2/suexec.log
noch in
/var/log/apache2/error.log
bekomme ich irgendwelche fehler angezeigt.
Hat jemand rat?
Es wird in Deinem Posting nicht so ganz deutlich, darum:
suexec dient dazu CGI-Skripte unter einem bestimmten Benutzeraccount
auszuführen. Die Ausführung von PHP-Skripten bei Verwendung des
SAPI-Moduls für Apache bleibt davon unberührt.
Um PHP-Skripte unter einem anderen als den mit der User-Direktive
konfigurierten Benutzer auszuführen zu lassen, müßtest Du stattdessen z.B.
- den PHP-Interpreter als CGI über Action einbinden
- PHP per FastCGI (mod_fgcid) einrichten
...
gruss,
.max
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de"
unsubscribe-Anfragen an [EMAIL PROTECTED]
sonstige Anfragen an [EMAIL PROTECTED]
--------------------------------------------------------------------------