Bug 51499 - Suexec missing useful redirect environmental variables
Suexec missing useful redirect environmental variables
Product: Apache httpd-2
Classification: Unclassified
Component: support
All All
: P2 enhancement (vote)
: ---
Assigned To: Apache HTTPD Bugs Mailing List
: FixedInTrunk
Depends on:
  Show dependency tree
Reported: 2011-07-11 21:55 UTC by Graham Laverty
Modified: 2012-02-26 17:12 UTC (History)
0 users

Proposed suexec diff (438 bytes, application/octet-stream)
2011-07-11 21:55 UTC, Graham Laverty

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Laverty 2011-07-11 21:55:42 UTC
Created attachment 27281 [details]
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 @@
Comment 1 Stefan Fritsch 2011-07-13 19:12:06 UTC
commited in r1146244
Comment 2 Stefan Fritsch 2012-02-26 17:12:32 UTC
fixed in 2.4.1