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 2016/08/03 15:59:34 UTC

[Bug 59938] New: Expose remote host port as an expression

https://bz.apache.org/bugzilla/show_bug.cgi?id=59938

            Bug ID: 59938
           Summary: Expose remote host port as an expression
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: hwibell@gmail.com

There was a question on IRC a while ago asking if there was a way to get the
remote host's port in the httpd.conf file.

This can be achieved by adding a request variable to the expression parser. The
variable REMOTE_PORT was added which returns the port information from the
client address.

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


[Bug 59938] Expose remote host port as an expression

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

Szőgyényi Gábor <sz...@freemail.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |szg0000@freemail.hu

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


[Bug 59938] Expose remote host port as an expression

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

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk,
                   |                            |PatchAvailable

--- Comment #2 from Eric Covener <co...@gmail.com> ---
Thanks for the enhancement, added in r1776459 and will propose for backport
shortly.

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


[Bug 59938] Expose remote host port as an expression

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

--- Comment #1 from Hank Ibell <hw...@gmail.com> ---
Created attachment 34101
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34101&action=edit
Potential patch

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