View Single Post
Old 12th February 2008, 22:04
SupuS SupuS is offline
HowtoForge Supporter
Join Date: May 2006
Posts: 202
Thanks: 68
Thanked 14 Times in 12 Posts

Originally Posted by Hans
Problem solved, but weird....
I disabled php for the TYPO3 website and enabled it again....After that all the TYPO3 sites where up and running again.
Hi again

Works disabling of suPHP fine for you? I installed suPHP and everything works fine but I am not able to disable suPHP engine by insert this code:

suPHP_Engine off
RemoveHandler .php
php_admin_flag engine on
After adding this code to apache directives under ispconfig in my vhost is:

<VirtualHost *********:80>
suPHP_Engine off
RemoveHandler .php
php_admin_flag engine on
DocumentRoot /var/www/web2/web
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.jsp Default.htm default.htm
ErrorLog /var/www/web2/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Directory /var/www/web2/web>
  suPHP_Engine on
  suPHP_UserGroup web2_user web2
  AddHandler x-httpd-php .php .php3 .php4 .php5
  suPHP_AddHandler x-httpd-php
  SetEnv php_safe_mode Off
Alias /error/ "/var/www/web2/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
suPHP is installed as described in howto .. except this:

;Handler for php-scripts
it was set by ispconfig so I leave it

Thanks for any idea .. SupuS
Reply With Quote