httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Toscano <toscano.l...@gmail.com>
Subject Re: svn commit: r1726510 - in /httpd/httpd/trunk/docs/manual: expr.html.en expr.xml.meta mod/mod_cgi.html.en mod/mod_cgi.xml.fr mod/mod_cgi.xml.ja mod/mod_cgi.xml.ko mod/mod_cgi.xml.meta
Date Sun, 24 Jan 2016 19:48:13 GMT
Hi Eric,

2016-01-24 18:12 GMT+01:00 Eric Covener <covener@gmail.com>:
>
>
> Is this content really helpful for users? I'm not familiar with the
> specific feedback this is from, but a user generally wants to know the
> variables they can expect to be set and perhaps a bit of an
> explanation (after all, they could run "env" as a test to see what the
> varaiables are).
>

a bit of context:
- https://bz.apache.org/bugzilla/show_bug.cgi?id=58305
- https://bz.apache.org/bugzilla/show_bug.cgi?id=58306

The user asked the following things (in the context of httpd and CGI
scripts):
- Is the env var DOCUMENT_ROOT passed by httpd to CGI?
- What are the httpd Directives (like DocumentRoot) that have the
consequence of setting/passing an environment variable to the CGI script?

This commit answers the first question and adds context for the people that
might need a quick "where to look" reference for the second one. The long
term plan is for me to study those functions and add a precise list of
variables in the mod_cgi's page (but it will requires a bit of time).

Having some precise information to clarify some doubts can bring value to
the documentation in my opinion, but I agree with you that I can do a more
precise work (as stated above). Dumping the environment variables from the
CGI script can be an option, but the result might vary with the Apache
directives set, so at least a reference in the docs that this might happen
can help in my opinion.

So this is the long story, if I didn't convince you I'll revert the commit
asap and I'll work on something better :)

Let me know!

Luca

Mime
View raw message