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: | Hannes Magnusson | Date: | Wed, 05 Dec 2012 19:53:28 +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 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-15042@lists.php.net to get a copy of this message | ||
// 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?
-Hannes
On Wed, Dec 5, 2012 at 8:09 AM, Daniel P. Brown <danbrown@php.net> wrote:
> Commit: 3cc94915886c9918657f7fd0d82a84e72391d374
> Author: Daniel P. Brown <danbrown@php.net> Wed, 5 Dec 2012 11:09:23 -0500
> Parents: 2eda87fb3965cbb970d36b8b8f4be1e83acd17a4
> Branches: master
>
> Link:
> http://git.php.net/?p=web/php.git;a=commitdiff;h=3cc94915886c9918657f7fd0d82a84e72391d374
>
> Log:
> 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.'
>
> Changed paths:
> M bin/createNewsEntry
> M copyright.php
> M download-logos.php
> M get-involved.php
> M git-php.php
> M include/header.inc
> M include/layout.inc
> M include/loadavg.inc
> M include/site.inc
> M mod.php
> M my.php
> M privacy.php
> M quickref.php
> M results.php
> M sites.php
> M software.php
> M tips.php
> M ws.php
>
>
> --
> PHP Webmaster List Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php