Re: ProxyPass to an IPv6 link-local address

Lexi Winter <[email protected]> Fri, 18 Jul 2025 00:02:29 +0100
Newsgroups gmane.comp.apache.user
Message-ID <[email protected]>
Paul:
> Have you tried without the "[ ]" square brackets in the Location directive?
 
thank you for the suggestion, but this does not work either:

	ProxyPass       http://fe80::2%vm.cgit:80/

the error being:

	ProxyPass Unable to parse URL: http://fe80::2%vm.cgit:80/

> RFC 1738 is pretty clear that "[" and "]" are unsafe characters -- I would
> therefore expect apache2 to throw an error.

in general, literal IPv6 addresses in URLs are expected to be enclosed
in [...] because this disambiguates the port number (here, ":80") from
the address itself.  i.e., Apache will accept this with no issues:

	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 '%'.