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

            Bug ID: 69753
           Summary: ProxyPass fails with an IPv6 literal including a scope
                    identifier
           Product: Apache httpd-2
           Version: 2.4.64
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_http
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

this configuration:

<Location />
        ProxyPass "http://[fe80::2%vm.cgit]:80";
</Location>

generates this error:

AH01083: error parsing URL http://[fe80::2%vm.cgit]:80: Invalid host/port

using an IPv6 literal address without a scope identifier works fine, e.g.:

<Location />
        ProxyPass "http://[fd00::1]:80";
</Location>

using a scope identifier is useful in some situations; in my case, Apache is
running on a FreeBSD systems where each service is in a jail, and the
link-local address is used to connect to the HTTP backend in the jail.

this could also be used to connect to VMs, etc. where a global address isn't
required.

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

Reply via email to