summaryrefslogtreecommitdiff
path: root/network/mod_fcgid/README
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-11 17:59:14 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-11 17:59:14 +0200
commit5c7be82159cdf0e149f655b363818fd29b9ca296 (patch)
treef22aebe5a0cc011fc406de3324b58d9654b8a237 /network/mod_fcgid/README
parent4dc1e9dd610f256cc88e2c06640292d34a85becf (diff)
downloadslackbuilds-5c7be82159cdf0e149f655b363818fd29b9ca296.tar.gz
network/mod_fcgid: Removed from 12.0 repository
Diffstat (limited to 'network/mod_fcgid/README')
-rw-r--r--network/mod_fcgid/README53
1 files changed, 0 insertions, 53 deletions
diff --git a/network/mod_fcgid/README b/network/mod_fcgid/README
deleted file mode 100644
index fb10cb9040..0000000000
--- a/network/mod_fcgid/README
+++ /dev/null
@@ -1,53 +0,0 @@
-mod_fcgid is alternative FastCGI module for apache 2.x
-(note that "old and proven" mod_fastcgi doesn't work at all with apache 2.2)
-
-With mod_fcgid apache controls spawned FastCGI processes (as oposed to "external"
-FastCGI servers).
-
-Some features:
- - Binary compatibility to mod_fastcgi
- - Strict control on process spawn
- - Simple spawning-speed control strategy
- - Fastcgi server error detection
-
-Before running this script, you must have apache2 installed.
-Download and build apache2 build script from http://slackbuilds.org
-
-To use it, add the following line to your httpd.conf file:
- Include /etc/apache2/extra/httpd-fcgid.conf
-
-Sample SuEXEC php wrapper script:
- #!/bin/sh
- #
- # sample PHP FastCGI wrapper
- PHPRC="/etc" # directory which contains php.ini
- PHP_FCGI_CHILDREN=4
- PHP_FCGI_MAX_REQUESTS=250
- export PHPRC PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS
- exec /usr/bin/php-cgi
-
-and apropriate vhost config:
-
- # VirtualHost with SuExec and FastCGI PHP
- <VirtualHost *:80>
- # note: apache user should be member of 'vhost_group'
- SuexecUserGroup vhost_user vhost_group
-
- ServerAdmin webmaster@vhost.example.com
- DocumentRoot /var/www/vhosts/vhost.example.com/htdocs
- ServerName vhost.example.com
- ServerAlias www.vhost.example.com
- ErrorLog /var/log/apache2/vhost.example.com-error_log
- CustomLog /var/log/apache2/vhost.example.com-access_log common
-
- # note: chmod /var/www/vhosts/vhost.example.com to 0750
- <Directory /var/www/vhosts/vhost.example.com/htdocs>
- Options ExecCGI
- FCGIWrapper /var/www/vhosts/vhost.example.com/cgi-bin/php-wrapper .php
- DirectoryIndex index.html index.php
-
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- </VirtualHost>