Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Docs

Documentation of non-standard CGI environment variables

 

 

Apache docs RSS feed   Index | Next | Previous | View Threaded


A.Ford at ford-mason

Jul 15, 2008, 2:05 PM

Post #1 of 1 (764 views)
Permalink
Documentation of non-standard CGI environment variables

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 [at] ford-mason



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe [at] httpd
For additional commands, e-mail: docs-help [at] httpd

Apache docs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.