Welcome! Log In Create A New Profile

Advanced

Re: IPV6 problems

Maxim Dounin
June 25, 2011 06:38PM
Hello!

On Sat, Jun 25, 2011 at 01:15:53AM -0400, syle wrote:

> Normally how I setup nginx is to proxy php/perl to apache sitting on
> port 81, for ipv6
> its also a proxy pass for perl/php to some upstream local ipv4 address.
>
> For ipv6 when typing in a domain in browser utilizing a ipv6 address all
> works just fine,
> but if I use a IPV6 IP address in the browser I get:
>
> 400 Bad syntax.
>
> this is only for the proxy to apache for php/perl requests.
>
> Can someone look into this issue why number(hex) addresses in browser
> will not work
> while domains going to IPV6 do...

There are some missing parts in ipv6 address parsing in various
places, notably $host will have incorrect value if you use ipv6
address in browser. Most likely it's the issue you're facing.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

IPV6 problems

syle June 25, 2011 01:15AM

Re: IPV6 problems

Maxim Dounin June 25, 2011 06:38PM

Re: IPV6 problems

syle June 27, 2011 05:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready