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

[email protected] (Patrick Schaaf)
Newsgroups php.internals
Message-ID <CAJ26g5QnUL5k643bQYt-u55cTh-EeZHR6Uy9o0aOP3A9-bZDDg@mail.gmail.com>
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
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.