ProxyPass to an IPv6 link-local address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,

i am having trouble trying to use ProxyPass to proxy a request to an
HTTP backend on an IPv6 link-local address.  for example, using this:

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

returns an error:

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

i was able to get this working by adding the link-local address to
/etc/hosts:

fe80::2%vm.cgit		cgit-backend.internal

and then using the hostname in Apache:

<Location />
	ProxyPass       http://cgit-backend.internal:80/
</Location>

however, i feel like it should be possible to use an IP address in
ProxyPass without having to edit /etc/hosts.

this feels like a bug to me but, based on the bug reporting guidelines,
i thought i would ask here first.  so, does anyone have any suggestions?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux