fastcgi.conf
Code:
# ISPCP Ï~I (OMEGA) a Virtual Hosting Control System
# Copyright (c) 2006-2007 by ispCP | http://isp-control.net
#
#
# License:
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GPL General Public License
# as published by the Free Software Foundation; either version 2.0
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GPL General Public License for more details.
#
# You may have received a copy of the GPL General Public License
# along with this program.
#
# An on-line copy of the GPL General Public License can be found
# http://www.fsf.org/licensing/licenses/gpl.txt
#
########################################################################
#
# @TODO :
# - Finish config Fastcgi
<IfModule mod_fastcgi.c>
FastCgiWrapper On
FastCgiIpcDir /var/lib/apache2/fastcgi2
FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100
#-killInterval 300 \
#-autoUpdate \
#-idle-timeout 240 \
#-pass-header HTTP_AUTHORIZATION
FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user vu2000 -group vu2000
#
# PHP5 SUPPORT
#
AddHandler php-fastcgi .php .php5
<Location /php5/php5-fcgi-starter>
SetHandler fastcgi-script
Options +ExecCGI
</Location>
Action php-fastcgi /php5/php5-fcgi-starter
AddType application/x-httpd-php .php .php5
</IfModule>
fastcgi.load
Code:
<IfModule !mod_fastcgi.c>
LoadModule fas
Greez BeNe