https://issues.apache.org/bugzilla/show_bug.cgi?id=51499
Bug #: 51499
Summary: Suexec missing useful redirect environmental variables
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: support
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 27281
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27281
Proposed suexec diff
suexec.c is missing support for a few useful environmental variables that are
useful for ErrorDocument scripts.
Here is patch with what I think is a minimum set of additional environmental
variables that I think would be useful (two!).
I've attached a proposed diff, and pasted it below for your convenience.
===================================================================
--- suexec.c (revision 1145369)
+++ suexec.c (working copy)
@@ -99,9 +99,11 @@
"REMOTE_IDENT=",
"REMOTE_PORT=",
"REMOTE_USER=",
+ "REDIRECT_ERROR_NOTES=",
"REDIRECT_HANDLER=",
"REDIRECT_QUERY_STRING=",
"REDIRECT_REMOTE_USER=",
+ "REDIRECT_SCRIPT_FILENAME=",
"REDIRECT_STATUS=",
"REDIRECT_URL=",
"REQUEST_METHOD=",
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]