Re: com web/php: Change multiple checks and references from 'www.php.net' to plainly 'php.net' to reduce 301's, fix a few broken items, and ease a bit
of the load off the server (multiple connections per page when statically referenced as 'www.php.net.': bin/createNewsEntry copyright.php
download-logos.php get-involved.php git-php.php include/header.inc include/layout.inc include/loadavg.inc include/site.inc mod.php my.php privacy.php
quickref.php re

From: Date: Wed, 05 Dec 2012 19:57:12 +0000
Subject: Re: com web/php: Change multiple checks and references from 'www.php.net' to plainly 'php.net' to reduce 301's, fix a few broken items, and ease a bit
of the load off the server (multiple connections per page when statically referenced as 'www.php.net.': bin/createNewsEntry copyright.php
download-logos.php get-involved.php git-php.php include/header.inc include/layout.inc include/loadavg.inc include/site.inc mod.php my.php privacy.php
quickref.php re
References: 1 2  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-15043@lists.php.net to get a copy of this message
On Wed, Dec 5, 2012 at 2:53 PM, Hannes Magnusson <hannes.magnusson@gmail.com> wrote: > // Find potential close mirrors > foreach ($MIRRORS as $murl => $mirror) { > - if ($murl != 'http://www.php.net/' > && $mirror[7] == MIRROR_OK > && $mirror[4] != MIRROR_SPECIAL) { > + if ($murl != 'http://php.net/' && > $mirror[7] == MIRROR_OK && > $mirror[4] != MIRROR_SPECIAL) { > if ($mirror[0] == $COUNTRY) { > $close_mirrors[] = $murl; > } else { > > Doesn't that need to check for www.php.net too? Or has that completely > be removed by the mirror scripts? Good catch, Hannes. I thought I missed adding both to one of the lines, but when I went back through, I couldn't find it. So far, it hasn't yet been entirely removed from the mirroring systems, so we do indeed need to check for both. Thanks. -- </Daniel P. Brown> Network Infrastructure Manager http://www.php.net/

« previous php.webmaster (#15043) next »