httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1556102 - in /httpd/httpd/trunk/docs/manual: env.xml glossary.xml mod/mod_authz_core.xml mod/mod_setenvif.xml
Date Tue, 07 Jan 2014 01:55:34 GMT
Author: covener
Date: Tue Jan  7 01:55:33 2014
New Revision: 1556102

URL: http://svn.apache.org/r1556102
Log:
add some information about setenvif vs. subrequests for PR55957


Modified:
    httpd/httpd/trunk/docs/manual/env.xml
    httpd/httpd/trunk/docs/manual/glossary.xml
    httpd/httpd/trunk/docs/manual/mod/mod_authz_core.xml
    httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml

Modified: httpd/httpd/trunk/docs/manual/env.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/env.xml?rev=1556102&r1=1556101&r2=1556102&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/env.xml (original)
+++ httpd/httpd/trunk/docs/manual/env.xml Tue Jan  7 01:55:33 2014
@@ -153,6 +153,16 @@
           <directive module="mod_setenvif">SetEnvIf</directive> and <directive
           module="mod_rewrite">RewriteCond</directive> will not see the
           variables set with it.</li>
+ 
+          <li>When the server looks up a path via an internal 
+          <glossary ref="subrequest">subrequest</glossary> such as looking 
+          for a <directive module="mod_dir" >DirectoryIndex</directive> 
+          or generating a directory listing with <module>mod_autoindex</module>,
+          per-request environment variables are <em>not</em> inherited in the

+          subrequest. Additionally, 
+          <directive module="mod_setenvif">SetEnvIf</directive> directives
+          are not separately evaluated in the subrequest due to the API phases
+           <module>mod_setenvif</module> takes action in.</li>
         </ul>
     </section>
   </section>

Modified: httpd/httpd/trunk/docs/manual/glossary.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/glossary.xml?rev=1556102&r1=1556101&r2=1556102&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/glossary.xml (original)
+++ httpd/httpd/trunk/docs/manual/glossary.xml Tue Jan  7 01:55:33 2014
@@ -433,6 +433,14 @@
       Young
     </dd>
 
+    <dt><a name="subrequest" id="subrequest">Subrequest</a></dt>
+    <dd>Apache provides a subrequest API to modules that allows other
+        filesystem or URL paths to be partially or fully evaluated by
+        the server. Example consumers of this API are 
+        <directive module="mod_dir">DirectoryIndex</directive>, 
+        <module>mod_autoindex</module>, and <module>mod_include</module>.
+    </dd>
+
     <dt><a name="symmetriccryptophraphy" id="symmetriccryptophraphy">Symmetric
         Cryptography</a></dt>
     <dd>The study and application of <em>Ciphers</em> that use a single
secret key

Modified: httpd/httpd/trunk/docs/manual/mod/mod_authz_core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_authz_core.xml?rev=1556102&r1=1556101&r2=1556102&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_authz_core.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_authz_core.xml Tue Jan  7 01:55:33 2014
@@ -117,6 +117,26 @@ SetEnvIf User-Agent ^KnockKnock/2\.0 let
     with <code>KnockKnock/2.0</code> will be allowed access, and all
     others will be denied.</p>
 
+    <p>When the server looks up a path via an internal 
+    <glossary ref="subrequest">subrequest</glossary> such as looking 
+    for a <directive module="mod_dir" >DirectoryIndex</directive> 
+    or generating a directory listing with <module>mod_autoindex</module>,
+    per-request environment variables are <em>not</em> inherited in the 
+    subrequest. Additionally, 
+    <directive module="mod_setenvif">SetEnvIf</directive> directives
+    are not separately evaluated in the subrequest due to the API phases
+    <module>mod_setenvif</module>.</p>
+
+
+    <p>When the server looks up a path via an internal subrequest,
+    such as looking for a <directive module="mod_dir"
+    >DirectoryIndex</directive> or generating a directory listing with
+    <module>mod_autoindex</module>, per-request environment variables are
+    <em>not</em> inherited in the subrequest. Additionally, environment
+    <directive module="mod_setenvif">SetEnvIf</directive> directives
+    are not separately evaluated in the subrequest due to the API phases
+    <module>mod_setenvif</module> takes action in.</p>
+
   </section>
 
   <section id="reqall"><title>Require all</title>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml?rev=1556102&r1=1556101&r2=1556102&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml Tue Jan  7 01:55:33 2014
@@ -48,6 +48,17 @@ on characteristics of the request</descr
 BrowserMatch ^Mozilla netscape
 BrowserMatch MSIE !netscape
 </highlight>
+
+   <p>When the server looks up a path via an internal 
+   <glossary ref="subrequest">subrequest</glossary> such as looking 
+   for a <directive module="mod_dir" >DirectoryIndex</directive> 
+   or generating a directory listing with <module>mod_autoindex</module>,
+   per-request environment variables are <em>not</em> inherited in the 
+   subrequest. Additionally, 
+   <directive module="mod_setenvif">SetEnvIf</directive> directives
+   are not separately evaluated in the subrequest due to the API phases
+   <module>mod_setenvif</module> takes action in.</p>
+
 </summary>
 
 <seealso><a href="../env.html">Environment Variables in Apache HTTP Server</a></seealso>



Mime
View raw message