Hello im useng ispconfig3.0.3 and ubuntu 10.04 when i open site configirations and save it i get error 500. here is logerror of the site [Wed Nov 10 22:22:56 2010] [error] [client 192.168.1.1] SoftException in Application.cpp:350: UID of script "/var/www/clients/client4/web4/web/index.php" is smaller than min_uid [Wed Nov 10 22:22:56 2010] [error] [client 192.168.1.1] Premature end of script headers: index.php i try to make it with diferent site and the result is teh same any idea what gets wrong? ________ Life Saber
I am trying all of them . in fact i want to use SuPHP but it wont work. Before i upgrade to 3.0.3 everything was OK. After upgrade i try to set "BACKUP" option to "weekly" on only one site and problems starts. Next i open another one and just press "save". It breaks too. any idea whats wrong ? ________ Free ticketmaster gift cards ________ Colorado medical marijuana dispensaries ________ STARCRAFT 2 REPY
What's the output of Code: ls -la /var/www/clients/client4/web4/web/index.php , and what's in /etc/suphp.conf?
-rwxr--r-- 1 web4 client4 1085 2010-06-28 19:43 /var/www/clients/client4/web4/web/index.php and the SU [global] ;Path to logfile logfile=/var/log/suphp/suphp.log ;Loglevel loglevel=info ;User Apache is running as webserver_user=www-data ;Path all scripts have to be in docroot=/var/www:${HOME}/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=false ;PATH environment variable env_path=/bin:/usr/bin ;Umask to set, specify in octal notation umask=0022 ; Minimum UID min_uid=100 ; Minimum GID min_gid=100 [handlers] ;Handler for php-scripts application/x-httpd-suphp="php:/usr/bin/php-cgi" ;Handler for CGI-scripts x-suphp-cgi="execute:!self" x-httpd-suphp="php:/usr/bin/php-cgi" umask=0022 umask=0022 umask=0022 umask=0022 x-httpd-suphp="php:/usr/bin/php-cgi" umask=0022 x-httpd-suphp="php:/usr/bin/php-cgi" umask=0022
Please remove these lines at the end of suphp.conf and restart Apache: Code: umask=0022 umask=0022 umask=0022 umask=0022 x-httpd-suphp="php:/usr/bin/php-cgi" umask=0022 x-httpd-suphp="php:/usr/bin/php-cgi" umask=0022 What's the UserID of the user web4, and what's the GroupID of the group client4?
i removed the unmasks .... but the problem is still there Group client4 5014 member www-data Client web4 5006 group client4 the error log for the site in ispconf is: [Mon Nov 15 20:19:25 2010] [error] [client 192.168.1.1] SoftException in Application.cpp:564: Directory "/var/www/clients" is writeable by group [Mon Nov 15 20:19:25 2010] [error] [client 192.168.1.1] Premature end of script headers: index.php and for the other site that i broke the error log is : [Mon Nov 15 20:19:05 2010] [error] [client 192.168.1.1] SoftException in Application.cpp:564: Directory "/var/www/clients" is writeable by group [Mon Nov 15 20:19:05 2010] [error] [client 192.168.1.1] Premature end of script headers: index.php [Mon Nov 15 20:19:05 2010] [error] [client 192.168.1.1] File does not exist: /var/www/clients/client4/web4/web/error/500.php
Please change Code: allow_directory_group_writeable=false to Code: allow_directory_group_writeable=true in /etc/suphp.conf and restart Apache.
somethin is realy wrong here ... the saga continue [Tue Nov 16 19:44:07 2010] [error] [client 192.168.1.1] SoftException in Application.cpp:573: Directory "/var/www/clients" is writeable by others [Tue Nov 16 19:44:07 2010] [error] [client 192.168.1.1] Premature end of script headers: index.php ________ VAPORIZER ________ Threesome videos ________ Wendie 99
Change Code: allow_directory_others_writeable=false to Code: allow_directory_others_writeable=true as well.
thanks Thanks a lot it works now. btw ... for what was those lines .. i could'nt found any documentation about that ________ No2 review ________ Video Reviews ________ WATER BONGS
These options define whether directories in the path to your PHP script are allowed to be group-/others-writeable or not.