Hi Eric, 2016-01-24 18:12 GMT+01:00 Eric Covener <[email protected]>: > > > 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
