Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs
[Bug 47447] New: Add possibility to use client IP as a value in RequestHeader (and Header, too, but this is almost meaningless)
 

Index | Next | Previous | View Flat


bugzilla at apache

Jun 29, 2009, 2:05 AM


Views: 172
Permalink
[Bug 47447] New: Add possibility to use client IP as a value in RequestHeader (and Header, too, but this is almost meaningless)

https://issues.apache.org/bugzilla/show_bug.cgi?id=47447

Summary: Add possibility to use client IP as a value in
RequestHeader (and Header, too, but this is almost
meaningless)
Product: Apache httpd-2
Version: 2.2.11
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: mod_headers
AssignedTo: bugs[at]httpd.apache.org
ReportedBy: alex[at]net13.info
CC: alex[at]net13.info


Created an attachment (id=23897)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23897)
mod_headers %a value format for client IP patch

Some people may want to use Apache as a reverse proxy on a frontends. Alas,
mod_rpaf is heavily bugged (.htaccess don't work), and existing small modules
like mod_realip2 do not honor X-Forwarded-For header (that is not completely
spoof proof also due to possibility of multiple values).

So I decided to add ability to use client IP as a value in mod_headers value
formats. It is a small nice enhancement that allows me to add like "X-Real-IP"
header on a backend.

The patch for 2.2.11 is attached, it is trivial enough.

Example of use:

RequestHeader set X-Real-IP %a

--
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[at]httpd.apache.org
For additional commands, e-mail: bugs-help[at]httpd.apache.org

Subject User Time
[Bug 47447] New: Add possibility to use client IP as a value in RequestHeader (and Header, too, but this is almost meaningless) bugzilla at apache Jun 29, 2009, 2:05 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.