httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51499] New: Suexec missing useful redirect environmental variables
Date Mon, 11 Jul 2011 21:55:42 GMT
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: bugs@httpd.apache.org
        ReportedBy: graham@reg.ca
    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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message