Return-Path: Delivered-To: apmail-httpd-docs-archive@www.apache.org Received: (qmail 30700 invoked from network); 15 Jul 2008 21:11:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 21:11:10 -0000 Received: (qmail 68186 invoked by uid 500); 15 Jul 2008 21:11:06 -0000 Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 68024 invoked by uid 500); 15 Jul 2008 21:11:05 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@httpd.apache.org List-Id: Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 68000 invoked by uid 99); 15 Jul 2008 21:11:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 14:11:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of A.Ford@ford-mason.co.uk designates 80.77.248.82 as permitted sender) Received: from [80.77.248.82] (HELO portal.ford-mason.co.uk) (80.77.248.82) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 21:10:12 +0000 Received: from mail.ford-mason.co.uk ([172.27.0.2]) by portal.ford-mason.co.uk with esmtp (Exim 4.69) (envelope-from ) id 1KIri4-0007zb-Eu; Tue, 15 Jul 2008 22:05:20 +0100 Message-ID: <487D1110.8030702@ford-mason.co.uk> Date: Tue, 15 Jul 2008 22:05:20 +0100 From: Andrew Ford Reply-To: A.Ford@ford-mason.co.uk User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: dev@httpd.apache.org, docs@httpd.apache.org Subject: Documentation of non-standard CGI environment variables Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) X-Spam-Report: Spam detection software, running on the system "icarus.ford-mason.co.uk", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: While documenting the CGI environment variables for the Apache Pocket Reference I came across some minor discrepencies between the Apache source code, documentation and the CGI specification. It appears that the variable REQUEST_URI is unconditionally set. This are not included in the CGI spec and not mentioned in the documentation. REQUEST_URI is mentioned in the mod_rewrite docs, but it appears even if RewriteEngine is set to OFF. DOCUMENT_ROOT and SERVER_ADMIN are set and comments in the code say that these are Apache additions, but that is not reflected in the documentation. [...] Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Virus-Checked: Checked by ClamAV on apache.org While documenting the CGI environment variables for the Apache Pocket Reference I came across some minor discrepencies between the Apache source code, documentation and the CGI specification. It appears that the variable REQUEST_URI is unconditionally set. This are not included in the CGI spec and not mentioned in the documentation. REQUEST_URI is mentioned in the mod_rewrite docs, but it appears even if RewriteEngine is set to OFF. DOCUMENT_ROOT and SERVER_ADMIN are set and comments in the code say that these are Apache additions, but that is not reflected in the documentation. SCRIPT_URI and SCRIPT_URL are set if RewriteEngine is set to ON. This is mentioned in the mod_rewrite documentation, but probably ought to be mentioned in the mod_cgi docs and in howto/cgi.html Does anyone have any comments on these variables? Once the book is out of the way I'll work up a patch for the relevant documentation files. Andrew -- Andrew Ford South Wing Compton House, Compton Green, Redmarley, Gloucestershire, GL19 3JB, UK Tel: +44 1531 829900 Mobile: +44 7785 258278 Email: A.Ford@ford-mason.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org