You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2015/08/30 19:38:55 UTC
[Bug 58306] New: documentation needs to make it clear which
directives, such as DocumentRoot, have the side effect of setting an
environment variable
https://bz.apache.org/bugzilla/show_bug.cgi?id=58306
Bug ID: 58306
Summary: documentation needs to make it clear which directives,
such as DocumentRoot, have the side effect of setting
an environment variable
Product: Apache httpd-2
Version: 2.4.16
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
Assignee: docs@httpd.apache.org
Reporter: tom.browder@gmail.com
The passing of the value of directive DocumentRoot apparently is passed to a
CGI process as environment variable DOCUMENT_ROOT but it is not documented.
There may be other such variables affected by other directives.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
[Bug 58306] documentation needs to make it clear which directives,
such as DocumentRoot, have the side effect of setting an environment
variable
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58306
Luca Toscano <to...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Luca Toscano <to...@gmail.com> ---
Backported to 2.2.x.
Tom, I haven't heard from you so I am going to close this bug since the fix has
been rolled out in my opinion. If you feel that the new documentation is not
enough, please feel free to re-open this bug!
Thanks!
Luca
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
[Bug 58306] documentation needs to make it clear which directives,
such as DocumentRoot, have the side effect of setting an environment
variable
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58306
--- Comment #2 from Luca Toscano <to...@gmail.com> ---
I'll prioritise https://bz.apache.org/bugzilla/show_bug.cgi?id=58305 adding
some info about DOCUMENT_ROOT and about the function responsible for setting
it, then I'll come back to this one to add a comprehensive list of env
variables set. The code needs to be "parsed" and it might take a bit of time :)
Luca
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
[Bug 58306] documentation needs to make it clear which directives,
such as DocumentRoot, have the side effect of setting an environment
variable
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58306
Luca Toscano <to...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #3 from Luca Toscano <to...@gmail.com> ---
All right new version of the documentation in:
https://httpd.apache.org/docs/trunk/mod/mod_cgi.html
I'll backport to 2.4/2.2 soon if nobody is against it. To summarise what has
been added to mod_cgi's doc:
- reference to the variables responsible for setting the CGI environment,
together with doxygen links.
- new variables set like DOCUMENT_ROOT together with their relationship with
httpd directives.
- a note about a quick workaround to get all the variables set with a cgi
script to have a complete view.
Tom, would you mind to take a look and let me know your opinion?
Luca
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
[Bug 58306] documentation needs to make it clear which directives,
such as DocumentRoot, have the side effect of setting an environment
variable
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58306
--- Comment #1 from Luca Toscano <to...@gmail.com> ---
Hi Tom,
this bug is a duplicate of
https://bz.apache.org/bugzilla/show_bug.cgi?id=58305, do you mind if I
consolidate the two?
Luca
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
[Bug 58306] documentation needs to make it clear which directives,
such as DocumentRoot, have the side effect of setting an environment
variable
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58306
--- Comment #4 from Luca Toscano <to...@gmail.com> ---
Backported to 2.4: https://httpd.apache.org/docs/2.4/mod/mod_cgi.html
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
[Bug 58306] documentation needs to make it clear which directives,
such as DocumentRoot, have the side effect of setting an environment
variable
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58306
--- Comment #5 from Luca Toscano <to...@gmail.com> ---
Remaining step: check whether or not this patch should be backported to 2.2.x
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org