Update to 2.0 Source is now hosted at sourceforge.net Update docs
This commit is contained in:
parent
d69dca6268
commit
c5881afa33
@ -1 +1 @@
|
|||||||
mod_fcgid.1.10.tar.gz
|
mod_fcgid.2.0.tar.gz
|
||||||
|
@ -9,62 +9,62 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<p><b><a name="regular fastcgi"></a>This is a for regular fastcgi. </b><p>LoadModule fcgid_module
|
<p><b><a name="regular fastcgi"></a>This is a for regular fastcgi. </b><p>LoadModule fcgid_module
|
||||||
modules/mod_fcgid.so<p>
|
modules/mod_fcgid.so<p>
|
||||||
<Location /fcgid><br>
|
<Location /fcgid><br>
|
||||||
SetHandler fcgid-script<br>
|
SetHandler fcgid-script<br>
|
||||||
Options ExecCGI<br>
|
Options ExecCGI<br>
|
||||||
allow from all<br>
|
allow from all<br>
|
||||||
</Location><p>
|
</Location><p>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<p><b><a name="suEXEC"></a>This is for suEXEC. Please get more information about suEXEC <a href="http://httpd.apache.org/docs-2.0/suexec.html">here</a>. </b><p>LoadModule fcgid_module
|
<p><b><a name="suEXEC"></a>This is for suEXEC. Please get more information about suEXEC <a href="http://httpd.apache.org/docs-2.0/suexec.html">here</a>. </b><p>LoadModule fcgid_module
|
||||||
modules/mod_fcgid.so<p>
|
modules/mod_fcgid.so<p>
|
||||||
<Location /fcgid><br>
|
<Location /fcgid><br>
|
||||||
SetHandler fcgid-script<br>
|
SetHandler fcgid-script<br>
|
||||||
Options ExecCGI<br>
|
Options ExecCGI<br>
|
||||||
allow from all<br>
|
allow from all<br>
|
||||||
</Location><p>
|
</Location><p>
|
||||||
<VirtualHost 192.168.1.89><br>
|
<VirtualHost 192.168.1.89><br>
|
||||||
ServerAdmin <a href="mailto:webmaster@host.foo.com">webmaster@host.foo.com<br>
|
ServerAdmin <a href="mailto:webmaster@host.foo.com">webmaster@host.foo.com<br>
|
||||||
</a> DocumentRoot /usr/local/apache2/htdocs/<br>
|
</a> DocumentRoot /usr/local/apache2/htdocs/<br>
|
||||||
ServerName host.foo.com<br>
|
ServerName host.foo.com<br>
|
||||||
SuexecUserGroup pqf pqf<br>
|
SuexecUserGroup pqf pqf<br>
|
||||||
</VirtualHost><p>
|
</VirtualHost><p>
|
||||||
¡¡
|
¡¡
|
||||||
<hr>
|
<hr>
|
||||||
<p><b><a name="PHP"></a>This is for fastcgi-mode PHP (UNIX)</b><p>LoadModule fcgid_module modules/mod_fcgid.so<p>
|
<p><b><a name="PHP"></a>This is for fastcgi-mode PHP (UNIX)</b><p>LoadModule fcgid_module modules/mod_fcgid.so<p>
|
||||||
<Directory /usr/local/apache2/htdocs/php><br>
|
<Directory /usr/local/apache2/htdocs/php><br>
|
||||||
SetHandler fcgid-script<br>
|
SetHandler fcgid-script<br>
|
||||||
FCGIWrapper /usr/local/bin/php .php<br>
|
FCGIWrapper /usr/local/bin/php .php<br>
|
||||||
Options ExecCGI<br>
|
Options ExecCGI<br>
|
||||||
allow from all<br>
|
allow from all<br>
|
||||||
</Directory><p><b>This works too:</b><p>LoadModule fcgid_module
|
</Directory><p><b>This works too:</b><p>LoadModule fcgid_module
|
||||||
modules/mod_fcgid.so <p>
|
modules/mod_fcgid.so <p>
|
||||||
AddHandler fcgid-script .php<br>
|
AddHandler fcgid-script .php<br>
|
||||||
<Directory /usr/local/apache2/htdocs/php><br>
|
<Directory /usr/local/apache2/htdocs/php><br>
|
||||||
FCGIWrapper /usr/local/bin/php .php<br>
|
FCGIWrapper /usr/local/bin/php .php<br>
|
||||||
Options ExecCGI<br>
|
Options ExecCGI<br>
|
||||||
allow from all<br>
|
allow from all<br>
|
||||||
</Directory><p><b># Please make sure:<br>
|
</Directory><p><b># Please make sure:<br>
|
||||||
# php is configured with --enable-fastcgi option<br>
|
# php is configured with --enable-fastcgi option<br>
|
||||||
# check error_log(with debug level), if
|
# check error_log(with debug level), if
|
||||||
any thing goes wrong</b>
|
any thing goes wrong</b>
|
||||||
<hr>
|
<hr>
|
||||||
<p><b><a name="suPHP"></a>This is for suPHP ( UNIX )</b>
|
<p><b><a name="suPHP"></a>This is for suPHP ( UNIX )</b>
|
||||||
<p>LoadModule fcgid_module modules/mod_fcgid.so<br>
|
<p>LoadModule fcgid_module modules/mod_fcgid.so<br>
|
||||||
<br>
|
<br>
|
||||||
<VirtualHost *:80><br>
|
<VirtualHost *:80><br>
|
||||||
ServerName test2.example.com<br>
|
ServerName test2.example.com<br>
|
||||||
DocumentRoot /usr/local/apache2/htdocs/test2.example.com/<br>
|
DocumentRoot /usr/local/apache2/htdocs/test2.example.com/<br>
|
||||||
SuexecUserGroup pqf pqf<br>
|
SuexecUserGroup pqf pqf<br>
|
||||||
</VirtualHost><br>
|
</VirtualHost><br>
|
||||||
<br>
|
<br>
|
||||||
<Directory /usr/local/apache2/htdocs/test2.example.com/><br>
|
<Directory /usr/local/apache2/htdocs/test2.example.com/><br>
|
||||||
AddHandler fcgid-script .php<br>
|
AddHandler fcgid-script .php<br>
|
||||||
Options ExecCGI<br>
|
Options ExecCGI<br>
|
||||||
allow from all<br>
|
allow from all<br>
|
||||||
FCGIWrapper /usr/local/apache2/htdocs/test2.example.com/php .php<br>
|
FCGIWrapper /usr/local/apache2/htdocs/test2.example.com/php .php<br>
|
||||||
</Directory></p>
|
</Directory></p>
|
||||||
<p>
|
<p>
|
||||||
<b>
|
<b>
|
||||||
@ -79,23 +79,89 @@ any thing goes wrong</b>
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<p><br>
|
<p><br>
|
||||||
<b><a name="PHP-Windows"></a>This is for fastcgi-mode PHP ( Windows )</b><p>LoadModule fcgid_module modules/mod_fcgid.so<p>
|
<b><a name="PHP-Windows"></a>This is for fastcgi-mode PHP ( Windows )</b><p>LoadModule fcgid_module modules/mod_fcgid.so<p>
|
||||||
<Directory "C:/Apache2/htdocs/php/"><br>
|
<Directory "C:/Apache2/htdocs/php/"><br>
|
||||||
SetHandler fcgid-script<br>
|
SetHandler fcgid-script<br>
|
||||||
Options execCGI<br>
|
Options execCGI<br>
|
||||||
AllowOverride None<br>
|
AllowOverride None<br>
|
||||||
Order allow,deny<br>
|
Order allow,deny<br>
|
||||||
Allow from all<br>
|
Allow from all<br>
|
||||||
FCGIWrapper "c:/php/php.exe" .php<br>
|
FCGIWrapper "c:/php/php.exe" .php<br>
|
||||||
</Directory><p><b>This works too:</b><p>LoadModule fcgid_module modules/mod_fcgid.so <p>
|
</Directory><p><b>This works too:</b><p>LoadModule fcgid_module modules/mod_fcgid.so <p>
|
||||||
AddHandler fcgid-script .php<br>
|
AddHandler fcgid-script .php<br>
|
||||||
<Directory "C:/Apache2/htdocs/php/"><br>
|
<Directory "C:/Apache2/htdocs/php/"><br>
|
||||||
FCGIWrapper "c:/php/php.exe" .php<br>
|
FCGIWrapper "c:/php/php.exe" .php<br>
|
||||||
Options ExecCGI<br>
|
Options ExecCGI<br>
|
||||||
allow from all<br>
|
allow from all<br>
|
||||||
</Directory><br>
|
</Directory><br>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
<p><b><a name="Authenticator"></a>This is for Authenticator</b></p>
|
||||||
|
<p>LoadModule fcgid_module modules/mod_fcgid.so
|
||||||
|
<p><Location /fcgid><br>
|
||||||
|
SetHandler fcgid-script<br>
|
||||||
|
Options ExecCGI<br>
|
||||||
|
allow from all<br>
|
||||||
|
AuthType Basic<br>
|
||||||
|
AuthName ProtectedRealm<br>
|
||||||
|
FastCgiAuthenticator /some/path/authenticator<br>
|
||||||
|
require valid-user<br>
|
||||||
|
</Location><br>
|
||||||
|
</p>
|
||||||
|
<p><b>Another configuration: <a name="FastCgiAuthenticatorAuthoritative">FastCgiAuthenticatorAuthoritative</a>
|
||||||
|
(default On)</b></p>
|
||||||
|
<p>Setting the <code>FastCgiAuthenticatorAuthoritative</code> directive
|
||||||
|
explicitly to <em>Off</em> allows authentication to be passed on to lower level
|
||||||
|
modules</p>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<p><b><a name="Authorizer"></a>This is for Authorizer</b></p>
|
||||||
|
|
||||||
|
<p>LoadModule fcgid_module modules/mod_fcgid.so
|
||||||
|
<p><Location /fcgid><br>
|
||||||
|
SetHandler fcgid-script<br>
|
||||||
|
Options ExecCGI<br>
|
||||||
|
allow from all<br>
|
||||||
|
AuthType Basic<br>
|
||||||
|
AuthName ProtectedRealm<br>
|
||||||
|
FastCgiAuthorizer /some/place/Authorizer<br>
|
||||||
|
</Location></p>
|
||||||
|
|
||||||
|
<p><b>Another configuration: <a name="FastCgiAuthorizerAuthoritative">FastCgiAuthorizerAuthoritative</a>
|
||||||
|
(default On)</b></p>
|
||||||
|
|
||||||
|
<p>Setting the <code>FastCgiAuthorizerAuthoritative</code> directive explicitly
|
||||||
|
to <em>Off</em> allows authorization to be passed on to lower level modules</p>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<p><b><a name="AccessChecker"></a>This is for AccessChecker</b></p>
|
||||||
|
<p>LoadModule fcgid_module modules/mod_fcgid.so
|
||||||
|
<p><Location /fcgid><br>
|
||||||
|
SetHandler fcgid-script<br>
|
||||||
|
Options ExecCGI<br>
|
||||||
|
allow from all<br>
|
||||||
|
FastCgiAccessChecker /some/place/access-checker<br>
|
||||||
|
</Location><br>
|
||||||
|
</p>
|
||||||
|
<p><b>Another configuration: </b><a name="FastCgiAccessCheckerAuthoritative"><b>FastCgiAccessCheckerAuthoritative</b></a><b>
|
||||||
|
(default On)</b></p>
|
||||||
|
<p>Setting the <code>FastCgiAccessCheckerAuthoritative</code> directive
|
||||||
|
explicitly to <em>Off</em> allows access checking to be passed on to lower level
|
||||||
|
modules</p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
|
<p> </p>
|
||||||
<p>¡¡</p>
|
<p>¡¡</p>
|
||||||
<p>¡¡</p>
|
<p>¡¡</p>
|
||||||
<p>¡¡</p>
|
<p>¡¡</p>
|
||||||
|
16
doc.htm
16
doc.htm
@ -51,7 +51,10 @@
|
|||||||
(non-PHP, non-Ruby, non-Python) </a><p><a href="configuration.htm#suEXEC">Configuration
|
(non-PHP, non-Ruby, non-Python) </a><p><a href="configuration.htm#suEXEC">Configuration
|
||||||
for suEXEC fastcgi</a><p><a href="configuration.htm#PHP">Configuration for PHP
|
for suEXEC fastcgi</a><p><a href="configuration.htm#PHP">Configuration for PHP
|
||||||
(UNIX)</a><p><a href="configuration.htm#suPHP">Configuration for suPHP (UNIX)</a><p><a href="configuration.htm#PHP-Windows">Configuration
|
(UNIX)</a><p><a href="configuration.htm#suPHP">Configuration for suPHP (UNIX)</a><p><a href="configuration.htm#PHP-Windows">Configuration
|
||||||
for PHP (Windows)</a><p>
|
for PHP (Windows)</a><p><a href="configuration.htm#Authenticator">Configuration
|
||||||
|
for Authenticator</a><p><a href="configuration.htm#Authorizer">Configuration
|
||||||
|
for Authorizer</a><p><a href="configuration.htm#AccessChecker">Configuration
|
||||||
|
for AccessChecker</a><p>
|
||||||
<hr>
|
<hr>
|
||||||
<ul>
|
<ul>
|
||||||
<li><h2><b><font size="4">There are
|
<li><h2><b><font size="4">There are
|
||||||
@ -90,9 +93,16 @@ than once.<p><b>IPCConnectTimeout n (3 seconds)</b><p>The connect timeout to a
|
|||||||
fastcgi application. <p><b>IPCCommTimeout n (20 seconds)</b><p>The communication
|
fastcgi application. <p><b>IPCCommTimeout n (20 seconds)</b><p>The communication
|
||||||
timeout to a fastcgi application. Please increase this value if your CGI have a
|
timeout to a fastcgi application. Please increase this value if your CGI have a
|
||||||
slow initialization or slow respond.<p><b>OutputBufferSize n (64k bytes)</b><p>CGI
|
slow initialization or slow respond.<p><b>OutputBufferSize n (64k bytes)</b><p>CGI
|
||||||
output cache buffer size.<p><b>PHP_Fix_Pathinfo_Enable</b><b> n(n=0/1, default 0)</b><p>If
|
output cache buffer size.<p><b>PHP_Fix_Pathinfo_Enable</b><b> n(n=0/1, default 0)</b><p>If
|
||||||
you are using PHP and set cgi.fix_pathinfo=1 in php.ini, set
|
you are using PHP and set cgi.fix_pathinfo=1 in php.ini, set
|
||||||
PHP_Fix_Pathinfo_Enable 1.
|
PHP_Fix_Pathinfo_Enable 1.<p><b>MaxRequestsPerProcess n (-1)</b><p>(Added in
|
||||||
|
version 1.11, patch from Robert L Mathews)<p>Adds a MaxRequestsPerProcess parameter that allows mod_fcgid to
|
||||||
|
exit after handling a certain number of requests, similar to the existing ProcessLifeTime option. <p>This solves a problem with PHP in FastCGI mode. By default, PHP stops
|
||||||
|
accepting new FastCGI connections after handling 500 requests; unfortunately, there is a potential race condition during the PHP cleanup code in which
|
||||||
|
PHP can be shutting down but still have the socket open, so mod_fcgid under heavy load can send request number 501 to PHP and have it "accepted", but then
|
||||||
|
PHP appears to simply exit, causing errors.<p>If you are using PHP, you should
|
||||||
|
set it to 500. -1 mean fastcgi process will not exit no matter how many requests
|
||||||
|
it has handled.<br>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
@ -10,13 +10,13 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: mod_fcgid
|
Name: mod_fcgid
|
||||||
Version: 1.10
|
Version: 2.0
|
||||||
Release: 7%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Apache2 module for high-performance server-side scripting
|
Summary: Apache2 module for high-performance server-side scripting
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://fastcgi.coremail.cn/
|
URL: http://fastcgi.coremail.cn/
|
||||||
Source0: http://fastcgi.coremail.cn/mod_fcgid.%{version}.tar.gz
|
Source0: http://dl.sf.net/mod-fcgid/mod_fcgid.%{version}.tar.gz
|
||||||
Source1: fcgid.conf
|
Source1: fcgid.conf
|
||||||
Source2: fastcgi.te
|
Source2: fastcgi.te
|
||||||
Source3: fastcgi.fc
|
Source3: fastcgi.fc
|
||||||
@ -144,6 +144,11 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 30 2006 Paul Howarth <paul@city-fan.org> 2.0-1
|
||||||
|
- Update to 2.0
|
||||||
|
- Source is now hosted at sourceforge.net
|
||||||
|
- Update docs
|
||||||
|
|
||||||
* Wed Sep 6 2006 Paul Howarth <paul@city-fan.org> 1.10-7
|
* Wed Sep 6 2006 Paul Howarth <paul@city-fan.org> 1.10-7
|
||||||
- Include the right README* files
|
- Include the right README* files
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user