Re: [PHP-DEV] PHP 5.6 frontpage links funny on php.net + mirrors

[email protected] (Ferenc Kovacs)
Newsgroups php.internals
Message-ID <CAH-PCH6ZPTkHgqa00kkthsiQf7bN_VK=OYvpWiNd-4JZbTKmTw@mail.gmail.com>
On Fri, Aug 29, 2014 at 11:36 AM, Ferenc Kovacs <[email protected]> wrote:

>
>
>
> On Fri, Aug 29, 2014 at 11:28 AM, Patrick Schaaf <[email protected]> wrote:
>
>> On Friday 29 August 2014 10:57:57 Ferenc Kovacs wrote:
>>
>> > > Apart from that: the link for "Variadic functions" (second bullet in
>> the
>>  > > main features announcement),leads to manual lookup because
>>  > > "function.arguments.php doesn't exist"
>>  > >
>>  > > http://php.net/functions.arguments.php#functions.variable-arg-list
>>  > > leads to
>>  > >
>>  > >
>> http://php.net/manual-lookup.php?pattern=functions.arguments.php&lang=de&s
>>  > > cope=404qui ckref#functions.variable-arg-list
>>  >
>>  > works for me.
>>  > maybe you are/were redirected to a mirror, which isn't up-to-date with
>> the
>>  > docs yet?
>>
>> It's http://php.net - not a mirror. Ran a tcpdump, I'm talking to
>> 72.52.91.14
>>
>> I tried it again using Mozilla (normally chrome), to rule out local
>> caching issues; I'm not using any proxy. I'm seeing the same issues.
>>
>> The "my PHP.net" page in chrome says preferred language "Not Set",
>> last seen language "en", browser Accept-Language
>> "de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4", mirror default and default
>> "en".
>>
>> Mozilla shows the same, except browser Accept-Language is just
>> "en-US,en;q=0.5"
>>
>> "wget http://php.net" gives me this line:
>>          <li><a
>> href="http://php.net/functions.arguments.php#functions.variable-arg-list
>> ">Variadic
>> functions</a> and argument unpacking using the <code>...</code>
>> operator.</li>
>>
>> wgetting that href gives me
>>
>> --2014-08-29 11:14:36--  http://php.net/functions.arguments.php
>> Resolving php.net (php.net)... 72.52.91.14, 2001:470:1:380::3
>> Connecting to php.net (php.net)|72.52.91.14|:80... connected.
>> HTTP request sent, awaiting response... 302 Found
>> Location:
>> http://php.net/search.php?show=404quickref&lang=en&pattern=functions.arguments.php
>> [following]
>> --2014-08-29 11:14:37--
>>
>> http://php.net/search.php?show=404quickref&lang=en&pattern=functions.arguments.php
>> Reusing existing connection to php.net:80.
>> HTTP request sent, awaiting response... 302 Found
>> Location:
>> http://php.net/manual-lookup.php?pattern=functions.arguments.php&lang=en&scope=404quickref
>> [following]
>> --2014-08-29 11:14:37--
>>
>> http://php.net/manual-lookup.php?pattern=functions.arguments.php&lang=en&scope=404quickref
>> Reusing existing connection to php.net:80.
>> HTTP request sent, awaiting response... 200 OK
>> Length: unspecified [text/html]
>> Saving to: ‘functions.arguments.php’
>> ------------------------------------------------------------------------
>>
>> And in the saved file it reads "<base
>> href="http://php.net/manual-lookup.php">" and so on...
>>
>> Hope this helps
>>   Patrick
>>
>
> hi,
> thanks, here is what I'm seeing:
>
> [tyrael@ferencs-mbp-135 php-src.git (master ✗)]$ wget -v '
> http://php.net/functions.arguments.php#functions.variable-arg-list'
> --2014-08-29 11:33:52--  http://php.net/functions.arguments.php
> Resolving php.net... 72.52.91.14, 2001:470:1:380::3
> Connecting to php.net|72.52.91.14|:80... connected.
> HTTP request sent, awaiting response... 302 Found
> Location: http://hu1.php.net/functions.arguments.php [following]
> --2014-08-29 11:33:52--  http://hu1.php.net/functions.arguments.php
> Resolving hu1.php.net... 195.56.44.160
> Connecting to hu1.php.net|195.56.44.160|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> Saving to: 'functions.arguments.php'
>
>     [ <=>
>
> so it seems that I'm getting redirected to a mirror, which serves the page
> correctly, while you seem to get served from the main site which fails to
> do that.
> looking into it.
>
> --
> Ferenc Kovács
> @Tyr43l - http://tyrael.hu
>

in the meantime, could you please report a bug about this, so that we won't
forget it (and there is a chance that somebody else can also help figuring
out what's happening here).

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.