Mailinglisten-Archive |
Hallo Dominique, >> ich sitzte hier ohne Erfolg an der Konfiguration von suPHP. >> >> Ich nutze SuSE 10.3 und habe Apache, PHP und suPHP per YaST >> installiert. Wenn ich allerdings per Browser ein Script aufrufe, >> erhalte ich nur einen 500er. Sowie diese Einträge im Log: >> [Wed Sep 24 21:04:08 2008] [error] [client 192.168.0.90] >> SecurityException in Application.cpp:437: Handler not found in >> configuration [Wed Sep 24 21:04:08 2008] [error] [client >> 192.168.0.90] Caused by KeyNotFoundException in >> Configuration.cpp:234: Handler "application/x-httpd-php" not >> found [Wed Sep 24 21:04:08 2008] [error] [client 192.168.0.90] >> Premature end of script headers: info.php >> >> Was genau möchte er von mir? Was ist falsch konfiguriert? > > irgendwie kommt meine mail nicht an :( > > gib mal bitte mehr infos wie apache config für das modul und > suphp.conf Anbei die Infos: Config im Apache: <IfModule mod_suphp.c> suPHP_Engine on AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php4 AddType application/x-httpd-php .php5 AddHandler application/x-httpd-php .php DirectoryIndex index.php index.php3 index.php4 index.php5 <Location /> suPHP_AddHandler application/x-httpd-php </Location> </IfModule> Im jeweiligen VHost: suPHP_UserGroup <user> <group> suphp.conf [global] ;Path to logfile logfile=/var/log/suphp.log ;Loglevel loglevel=info ;User Apache is running as webserver_user=wwwrun ;Path all scripts have to be in ;docroot=/ docroot=/home/fakie/public_html ;Path to chroot() to before executing script ;chroot=/mychroot ; Security options allow_file_group_writeable=false allow_file_others_writeable=false allow_directory_group_writeable=false allow_directory_others_writeable=false ;Check wheter script is within DOCUMENT_ROOT check_vhost_docroot=true ;Send minor error messages to browser errors_to_browser=true ;PATH environment variable env_path=/bin:/usr/bin ;Umask to set, specify in octal notation umask=0077 ; Minimum UID min_uid=100 ; Minimum GID min_gid=100 [handlers] ;Handler for php-scripts ;x-httpd-php=php:/srv/www/cgi-bin/php5 x-httpd-php=php:/usr/bin/php-cgi5 ;Handler for CGI-scripts x-suphp-cgi=execute:!self ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
php::bar PHP Wiki - Listenarchive