Bug 51499 - Suexec missing useful redirect environmental variables
Summary: Suexec missing useful redirect environmental variables
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: support (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Keywords: FixedInTrunk
Depends on:
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