]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Documentation rebuilt for previous commit.
authorLuca Toscano <elukey@apache.org>
Fri, 5 Feb 2016 07:59:37 +0000 (07:59 +0000)
committerLuca Toscano <elukey@apache.org>
Fri, 5 Feb 2016 07:59:37 +0000 (07:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1728614 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_cgi.html.en
docs/manual/mod/mod_cgi.xml.ja
docs/manual/mod/mod_cgi.xml.ko

index adc72ad675c53eb2289fe21c80cb72c3803ac7d2..d3ea3afbc8232e960545a4c128f07462dcaee893 100644 (file)
 
       <dd>This will only be set if the CGI script is subject to
       authentication.</dd>
+
     </dl>
+    <p>This module also leverages the core functions 
+       <a href="https://ci.apache.org/projects/httpd/trunk/doxygen/group__APACHE__CORE__SCRIPT.html#ga0e81f9571a8a73f5da0e89e1f46d34b1">ap_add_common_vars</a> and 
+       <a href="https://ci.apache.org/projects/httpd/trunk/doxygen/group__APACHE__CORE__SCRIPT.html#ga6b975cd7ff27a338cb8752381a4cc14f">ap_add_cgi_vars</a> 
+       to add environment variables like:</p> 
+       <dl>
+           <dt>DOCUMENT_ROOT</dt>
+
+           <dd>Set with the content of the related <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> directive.</dd>
+
+           <dt>SERVER_NAME</dt>
+
+           <dd>The fully qualified domain name related to the request.</dd>
+
+           <dt>SERVER_ADDR</dt>
+
+           <dd>The IP address of the Virtual Host serving the request.</dd>
+
+           <dt>SERVER_ADMIN</dt>
+
+           <dd>Set with the content of the related <code class="directive"><a href="../mod/core.html#serveradmin">ServerAdmin</a></code> directive.</dd>
+      </dl>
+    <p>For an exhaustive list it is suggested to write a basic CGI script 
+       that dumps all the environment variables passed by Apache in a convenient format.
+    </p>   
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="cgi-debug" id="cgi-debug">CGI Debugging</a></h2>
index 2d46a6de7064c784303146a783ce4f8182a342ea..a2defd39a5d7b3ad6e20d0a8387e38cef632ebf3 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 558766:1371587 (outdated) -->
+<!-- English Revision: 558766:1728613 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 2ee327463f34f1488eead2c1066a093cfebba91d..c540defc564c34b87a2e28c5515a19d900b2ccc8 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="EUC-KR" ?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 105989:1371587 (outdated) -->
+<!-- English Revision: 105989:1728613 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more