You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2009/09/23 16:04:52 UTC
svn commit: r818109 - /httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml
Author: trawick
Date: Wed Sep 23 14:04:52 2009
New Revision: 818109
URL: http://svn.apache.org/viewvc?rev=818109&view=rev
Log:
Axe a previous note about DefaultInitEnv, which missed the point about why the wrong env settings
could be used in a virtual host.
Fix the description of the issue and move it to a new Process Management section.
Modified:
httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml
Modified: httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml?rev=818109&r1=818108&r2=818109&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml (original)
+++ httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml Wed Sep 23 14:04:52 2009
@@ -313,6 +313,28 @@
</section>
+ <section id="process-mgmt">
+ <title>Process Management</title>
+
+ <p>TODO</p>
+
+ <note type="hint"><title>Note</title>
+ <p>Certain settings or other concepts that depend on the virtual host,
+ such as <directive module="mod_fcgid">FCGIDDefaultInitEnv</directive>
+ or process classes, distinguish between virtual hosts only if they
+ have distinct server names. (See the <directive>ServerName</directive>
+ documentation for more information.) In the case of
+ <directive module="mod_fcgid">FCGIDDefaultInitEnv</directive>, if two
+ virtual hosts have the same server name but different environments as
+ defined by
+ <directive module="mod_fcgid">FCGIDDefaultInitEnv</directive>, the
+ environment used for a particular request will be that defined for the
+ virtual host of the request that caused the FastCGI process to be
+ started.</p>
+ </note>
+
+ </section>
+
<!-- References to other documents or directives -->
<seealso><a href="../howto/cgi.html">Dynamic Content With CGI</a></seealso>
<seealso><module>mod_cgi</module></seealso>
@@ -525,15 +547,6 @@
<p>Use <directive>FCGIDDefaultInitEnv</directive> to define environment
variables to pass to the FastCGI application. This directive can
be used multiple times.</p>
-
- <note type="hint"><title>Note</title>
- <p>These settings are associated with the FastCGI process and are
- not reset on every request based on the current virtual host
- settings. The FastCGI process will run with the environment
- settings of the virtual host of the request that caused the FastCGI
- process to be started; these are not necessarily the same as those
- of the virtual hosts of subsequent requests.</p>
- </note>
</usage>
</directivesynopsis>