View Single Post
  #9  
Old 25th March 2007, 01:37
jameso jameso is offline
Member
 
Join Date: Nov 2006
Posts: 31
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Hi veogelor,

Thanks for your reply.

I am not quite sure what you mean. In my Vhosts file, an example vhost looks like this:
Code:
<VirtualHost xxx.xxx.xxx.xxx:80>
SuexecUserGroup web6_fwd web6
ServerName www.domain.com:80
ServerAdmin webmaster@domain.com
DocumentRoot /var/www/web6/web
ServerAlias domain.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /var/www/web6/log/error.log
AddHandler application/x-httpd-php .php .php3 .php4 .php5
suPHP_Engine on
suPHP_UserGroup web6_fwd web6
AddHandler x-httpd-php .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-php
Alias /error/ "/var/www/web6/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/web6/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
</VirtualHost>
I would like to modify this so suexec and suphp are not used, so I can see if suphp is causing the high server loads.

Thanks in advance.
Reply With Quote