From 7f0b7f6a4f2eb30cd40d7e9580f30dda3739be17 Mon Sep 17 00:00:00 2001 From: Luca Toscano Date: Fri, 5 Feb 2016 07:59:37 +0000 Subject: [PATCH] Documentation rebuilt for previous commit. 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 | 25 +++++++++++++++++++++++++ docs/manual/mod/mod_cgi.xml.ja | 2 +- docs/manual/mod/mod_cgi.xml.ko | 2 +- 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/docs/manual/mod/mod_cgi.html.en b/docs/manual/mod/mod_cgi.html.en index adc72ad675c..d3ea3afbc82 100644 --- a/docs/manual/mod/mod_cgi.html.en +++ b/docs/manual/mod/mod_cgi.html.en @@ -116,7 +116,32 @@
This will only be set if the CGI script is subject to authentication.
+ +

This module also leverages the core functions + ap_add_common_vars and + ap_add_cgi_vars + to add environment variables like:

+
+
DOCUMENT_ROOT
+ +
Set with the content of the related DocumentRoot directive.
+ +
SERVER_NAME
+ +
The fully qualified domain name related to the request.
+ +
SERVER_ADDR
+ +
The IP address of the Virtual Host serving the request.
+ +
SERVER_ADMIN
+ +
Set with the content of the related ServerAdmin directive.
+
+

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. +

top

CGI Debugging

diff --git a/docs/manual/mod/mod_cgi.xml.ja b/docs/manual/mod/mod_cgi.xml.ja index 2d46a6de706..a2defd39a5d 100644 --- a/docs/manual/mod/mod_cgi.xml.ja +++ b/docs/manual/mod/mod_cgi.xml.ja @@ -1,7 +1,7 @@ - + +