https://issues.apache.org/bugzilla/show_bug.cgi?id=44806
Summary: Set the IP address+port used for backend proxy requests.
Product: Apache httpd-2
Version: 2.2.8
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: mod_proxy
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
After scanning the source for mod_proxy, I saw no command to fix either the
outbound IP address or TCP port number used in the backend outbound request.
Being able to set these values may be of concern when it comes to certain
system FIREWALL designs for multi-homed hosts (including those virtually
multi-homed due to possessing multiple IP addresses per interface).
Command: ProxyAddress <address/hostname>
Context: server config, virtual host, "<Proxy>" section (including proxymatch)
Default: unspecified address (0.0.0.0 for IPv4; "::/128" for IPv6)
Status: Extension
The command may appear multiple times within the same context as long as it is
specifying a different address family than the other instances.
- If the parameter is [0-9.] only, it is an IPv4 address.
- If the parameter contains a ":", it is an IPv6 address.
- Otherwise, it is a hostname.
A hostname may specify ONLY one address per address family, but may have
multiple address families (i.e. both an "A" and "AAAA" record for IPv4+IPv6).
It is an error to specify a hostname that resolves to more than one address in
the same address family.
Whether the TCP port number should also be settable I shall leave to the
maintainers to decide. Whether this may be done with the above command (to
parallel the "Listen" command) or a separate "ProxyPort" command, I also leave
open.
This command is meant to correspond to like commands in other server products:
"query-source[-v6]" for BIND/named, or "bindaddress[v6]" for INN/innfeed. It
is an address used when the server needs to act as a client.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]