You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/07/11 23:55:42 UTC

DO NOT REPLY [Bug 51499] New: Suexec missing useful redirect environmental variables

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


DO NOT REPLY [Bug 51499] Suexec missing useful redirect environmental variables

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51499

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Stefan Fritsch <sf...@sfritsch.de> 2012-02-26 17:12:32 UTC ---
fixed in 2.4.1

-- 
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


DO NOT REPLY [Bug 51499] Suexec missing useful redirect environmental variables

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51499

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk

--- Comment #1 from Stefan Fritsch <sf...@sfritsch.de> 2011-07-13 19:12:06 UTC ---
commited in r1146244

-- 
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