rpms/mod_fcgid/devel .cvsignore, 1.2, 1.3 configuration.htm, 1.1, 1.2 doc.htm, 1.1, 1.2 mod_fcgid.spec, 1.2, 1.3 sources, 1.2, 1.3

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Tue Oct 31 18:37:38 UTC 2006


Author: pghmcfc

Update of /cvs/extras/rpms/mod_fcgid/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11373

Modified Files:
	.cvsignore configuration.htm doc.htm mod_fcgid.spec sources 
Log Message:
Update to 2.0
Source is now hosted at sourceforge.net
Update docs



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mod_fcgid/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	6 Sep 2006 13:08:59 -0000	1.2
+++ .cvsignore	31 Oct 2006 18:37:08 -0000	1.3
@@ -1 +1 @@
-mod_fcgid.1.10.tar.gz
+mod_fcgid.2.0.tar.gz


Index: configuration.htm
===================================================================
RCS file: /cvs/extras/rpms/mod_fcgid/devel/configuration.htm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- configuration.htm	6 Sep 2006 13:08:59 -0000	1.1
+++ configuration.htm	31 Oct 2006 18:37:08 -0000	1.2
@@ -9,62 +9,62 @@
 
 <body>
 
-<p><b><a name="regular fastcgi"></a>This is a for regular fastcgi.&nbsp;</b><p>LoadModule fcgid_module           
+<p><b><a name="regular fastcgi"></a>This is a for regular fastcgi.&nbsp;</b><p>LoadModule fcgid_module              
 modules/mod_fcgid.so<p>
-&lt;Location /fcgid><br>         
-&nbsp;&nbsp;&nbsp; SetHandler fcgid-script<br>         
-&nbsp;&nbsp;&nbsp; Options ExecCGI<br>         
-&nbsp;&nbsp;&nbsp; allow from all<br>         
+&lt;Location /fcgid><br>            
+&nbsp;&nbsp;&nbsp; SetHandler fcgid-script<br>            
+&nbsp;&nbsp;&nbsp; Options ExecCGI<br>            
+&nbsp;&nbsp;&nbsp; allow from all<br>            
 &lt;/Location&gt;<p>
 &nbsp;
 <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>.&nbsp;</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>.&nbsp;</b><p>LoadModule fcgid_module               
 modules/mod_fcgid.so<p>
-&lt;Location /fcgid&gt;<br>         
-&nbsp;&nbsp;&nbsp; SetHandler fcgid-script<br>         
-&nbsp;&nbsp;&nbsp; Options ExecCGI<br>         
-&nbsp;&nbsp;&nbsp; allow from all<br>         
+&lt;Location /fcgid&gt;<br>            
+&nbsp;&nbsp;&nbsp; SetHandler fcgid-script<br>            
+&nbsp;&nbsp;&nbsp; Options ExecCGI<br>            
+&nbsp;&nbsp;&nbsp; allow from all<br>            
 &lt;/Location&gt;<p>
-&lt;VirtualHost 192.168.1.89><br>         
-&nbsp;&nbsp;&nbsp; ServerAdmin <a href="mailto:webmaster at host.foo.com">webmaster at host.foo.com<br>        
-</a>&nbsp;&nbsp;&nbsp; DocumentRoot /usr/local/apache2/htdocs/<br>         
-&nbsp;&nbsp;&nbsp; ServerName host.foo.com<br>         
-&nbsp;&nbsp;&nbsp; SuexecUserGroup pqf pqf<br>         
+&lt;VirtualHost 192.168.1.89><br>            
+&nbsp;&nbsp;&nbsp; ServerAdmin <a href="mailto:webmaster at host.foo.com">webmaster at host.foo.com<br>           
+</a>&nbsp;&nbsp;&nbsp; DocumentRoot /usr/local/apache2/htdocs/<br>            
+&nbsp;&nbsp;&nbsp; ServerName host.foo.com<br>            
+&nbsp;&nbsp;&nbsp; SuexecUserGroup pqf pqf<br>            
 &lt;/VirtualHost&gt;<p>
 ¡¡
 <hr>
-<p><b><a name="PHP"></a>This is for fastcgi-mode PHP (UNIX)</b><p>LoadModule fcgid_module modules/mod_fcgid.so<p>  
-&lt;Directory /usr/local/apache2/htdocs/php><br>         
-&nbsp;&nbsp;&nbsp; SetHandler fcgid-script<br>         
-&nbsp;&nbsp;&nbsp; FCGIWrapper /usr/local/bin/php .php<br>         
-&nbsp;&nbsp;&nbsp; Options ExecCGI<br>         
-&nbsp;&nbsp;&nbsp; allow from all<br>         
-&lt;/Directory><p><b>This works too:</b><p>LoadModule fcgid_module         
+<p><b><a name="PHP"></a>This is for fastcgi-mode PHP (UNIX)</b><p>LoadModule fcgid_module modules/mod_fcgid.so<p>     
+&lt;Directory /usr/local/apache2/htdocs/php><br>            
+&nbsp;&nbsp;&nbsp; SetHandler fcgid-script<br>            
+&nbsp;&nbsp;&nbsp; FCGIWrapper /usr/local/bin/php .php<br>            
+&nbsp;&nbsp;&nbsp; Options ExecCGI<br>            
+&nbsp;&nbsp;&nbsp; allow from all<br>            
+&lt;/Directory><p><b>This works too:</b><p>LoadModule fcgid_module            
 modules/mod_fcgid.so&nbsp;<p>
-AddHandler fcgid-script .php<br>        
-&lt;Directory /usr/local/apache2/htdocs/php&gt;<br>         
-&nbsp;&nbsp;&nbsp; FCGIWrapper /usr/local/bin/php .php<br>         
-&nbsp;&nbsp;&nbsp; Options ExecCGI<br>         
-&nbsp;&nbsp;&nbsp; allow from all<br>         
+AddHandler fcgid-script .php<br>           
+&lt;Directory /usr/local/apache2/htdocs/php&gt;<br>            
+&nbsp;&nbsp;&nbsp; FCGIWrapper /usr/local/bin/php .php<br>            
+&nbsp;&nbsp;&nbsp; Options ExecCGI<br>            
+&nbsp;&nbsp;&nbsp; allow from all<br>            
 &lt;/Directory&gt;<p><b># Please make sure:<br>    
 # php is configured with --enable-fastcgi option<br>    
 # check error_log(with debug level), if  
 any thing goes wrong</b> 
 <hr>
-<p><b><a name="suPHP"></a>This is for suPHP&nbsp; ( UNIX )</b>      
-<p>LoadModule fcgid_module modules/mod_fcgid.so<br>    
+<p><b><a name="suPHP"></a>This is for suPHP&nbsp; ( UNIX )</b>         
+<p>LoadModule fcgid_module modules/mod_fcgid.so<br>       
 <br>
-&lt;VirtualHost *:80><br>    
-&nbsp;&nbsp;&nbsp; ServerName test2.example.com<br>    
-&nbsp;&nbsp;&nbsp; DocumentRoot /usr/local/apache2/htdocs/test2.example.com/<br>    
-&nbsp;&nbsp;&nbsp; SuexecUserGroup pqf pqf<br>    
+&lt;VirtualHost *:80><br>       
+&nbsp;&nbsp;&nbsp; ServerName test2.example.com<br>       
+&nbsp;&nbsp;&nbsp; DocumentRoot /usr/local/apache2/htdocs/test2.example.com/<br>       
+&nbsp;&nbsp;&nbsp; SuexecUserGroup pqf pqf<br>       
 &lt;/VirtualHost><br>
 <br>
-&lt;Directory /usr/local/apache2/htdocs/test2.example.com/><br>    
-&nbsp;&nbsp;&nbsp; AddHandler fcgid-script .php<br>    
-&nbsp;&nbsp;&nbsp; Options ExecCGI<br>    
-&nbsp;&nbsp;&nbsp; allow from all<br>    
-&nbsp;&nbsp;&nbsp; FCGIWrapper /usr/local/apache2/htdocs/test2.example.com/php .php<br>    
+&lt;Directory /usr/local/apache2/htdocs/test2.example.com/><br>       
+&nbsp;&nbsp;&nbsp; AddHandler fcgid-script .php<br>       
+&nbsp;&nbsp;&nbsp; Options ExecCGI<br>       
+&nbsp;&nbsp;&nbsp; allow from all<br>       
+&nbsp;&nbsp;&nbsp; FCGIWrapper /usr/local/apache2/htdocs/test2.example.com/php .php<br>       
 &lt;/Directory></p>
 <p>   
 <b>   
@@ -79,23 +79,89 @@
 
 <hr>
 <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>  
-&lt;Directory &quot;C:/Apache2/htdocs/php/&quot;&gt;<br>  
-&nbsp;&nbsp;&nbsp; SetHandler fcgid-script<br>  
-&nbsp;&nbsp;&nbsp; Options execCGI<br>  
-&nbsp;&nbsp;&nbsp; AllowOverride None<br>  
-&nbsp;&nbsp;&nbsp; Order allow,deny<br>  
-&nbsp;&nbsp;&nbsp; Allow from all<br>  
-&nbsp;&nbsp;&nbsp; FCGIWrapper &quot;c:/php/php.exe&quot; .php<br>  
-&lt;/Directory><p><b>This works too:</b><p>LoadModule fcgid_module modules/mod_fcgid.so&nbsp;<p>
-AddHandler fcgid-script .php<br>
-&lt;Directory &quot;C:/Apache2/htdocs/php/&quot;&gt;<br> 
-&nbsp;&nbsp;&nbsp; FCGIWrapper &quot;c:/php/php.exe&quot; .php<br> 
-&nbsp;&nbsp;&nbsp; Options ExecCGI<br> 
-&nbsp;&nbsp;&nbsp; allow from all<br> 
+<b><a name="PHP-Windows"></a>This is for fastcgi-mode PHP ( Windows )</b><p>LoadModule fcgid_module modules/mod_fcgid.so<p>     
+&lt;Directory &quot;C:/Apache2/htdocs/php/&quot;&gt;<br>     
+&nbsp;&nbsp;&nbsp; SetHandler fcgid-script<br>     
+&nbsp;&nbsp;&nbsp; Options execCGI<br>     
+&nbsp;&nbsp;&nbsp; AllowOverride None<br>     
+&nbsp;&nbsp;&nbsp; Order allow,deny<br>     
+&nbsp;&nbsp;&nbsp; Allow from all<br>     
+&nbsp;&nbsp;&nbsp; FCGIWrapper &quot;c:/php/php.exe&quot; .php<br>     
+&lt;/Directory><p><b>This works too:</b><p>LoadModule fcgid_module modules/mod_fcgid.so&nbsp;<p>   
+AddHandler fcgid-script .php<br>   
+&lt;Directory &quot;C:/Apache2/htdocs/php/&quot;&gt;<br>    
+&nbsp;&nbsp;&nbsp; FCGIWrapper &quot;c:/php/php.exe&quot; .php<br>    
+&nbsp;&nbsp;&nbsp; Options ExecCGI<br>    
+&nbsp;&nbsp;&nbsp; allow from all<br>    
 &lt;/Directory&gt;<br>
 
 <hr>
+<p><b><a name="Authenticator"></a>This is for Authenticator</b></p>  
+<p>LoadModule fcgid_module modules/mod_fcgid.so
+<p>&lt;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> 
+&lt;/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>&lt;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> 
+&lt;/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>&lt;Location /fcgid><br> 
+    SetHandler fcgid-script<br> 
+    Options ExecCGI<br> 
+    allow from all<br> 
+    FastCgiAccessChecker /some/place/access-checker<br> 
+&lt;/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>


Index: doc.htm
===================================================================
RCS file: /cvs/extras/rpms/mod_fcgid/devel/doc.htm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- doc.htm	6 Sep 2006 13:08:59 -0000	1.1
+++ doc.htm	31 Oct 2006 18:37:08 -0000	1.2
@@ -51,7 +51,10 @@
 (non-PHP, non-Ruby, non-Python)&nbsp;</a><p><a href="configuration.htm#suEXEC">Configuration
 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
-for PHP (Windows)</a><p>&nbsp;
+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>&nbsp;
 <hr>
 <ul>
   <li><h2><b><font size="4">There are
@@ -90,9 +93,16 @@
 fastcgi application.&nbsp;<p><b>IPCCommTimeout n (20 seconds)</b><p>The communication
 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
-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
-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.&nbsp;<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>
 


Index: mod_fcgid.spec
===================================================================
RCS file: /cvs/extras/rpms/mod_fcgid/devel/mod_fcgid.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mod_fcgid.spec	6 Sep 2006 13:47:08 -0000	1.2
+++ mod_fcgid.spec	31 Oct 2006 18:37:08 -0000	1.3
@@ -10,13 +10,13 @@
 %endif
 
 Name:           mod_fcgid
-Version:        1.10
-Release:        7%{?dist}
+Version:        2.0
+Release:        1%{?dist}
 Summary:        Apache2 module for high-performance server-side scripting 
 Group:          System Environment/Daemons
 License:        GPL
 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
 Source2:        fastcgi.te
 Source3:        fastcgi.fc
@@ -144,6 +144,11 @@
 %endif
 
 %changelog
+* Mon Oct 30 2006 Paul Howarth <paul at 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 at city-fan.org> 1.10-7
 - Include the right README* files
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mod_fcgid/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	6 Sep 2006 13:08:59 -0000	1.2
+++ sources	31 Oct 2006 18:37:08 -0000	1.3
@@ -1 +1 @@
-6c36b18548ca64864ed3dd4cb759062f  mod_fcgid.1.10.tar.gz
+3aa51f1e293e6d881028295a23021dae  mod_fcgid.2.0.tar.gz




More information about the scm-commits mailing list