Re: ProxyPass to an IPv6 link-local address

"Dino Ciuffetti" <[email protected]> Thu, 17 Jul 2025 23:34:03 +0000
Newsgroups gmane.comp.apache.user
Message-ID <[email protected]>
18 luglio 2025 01:03, "Lexi Winter" <[email protected]> wrote:
> ProxyPass http://[fd00::1]:80/
> 
> the problem here is it does not seem to understand how to parse the
> scope id, which is separated from the address by '%'.


Yes, exactly. That’s the core issue. The APR library, together with mod_proxy_http and proxy_util, cannot correctly parse IPv6 Link-Local Address URIs containing the scope ID (the % interface notation).

From a quick look at the code, it appears that direct support for IPv6 LLA with scope identifiers is missing. A possible workaround is to use a hostname (via the hosts file or DNS) that resolves to the LLA address, since Apache then handles a hostname instead of parsing the raw IPv6 address with a % sign.