php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24954 Mirror Selection Override
Submitted: 2003-08-05 14:35 UTC Modified: 2003-08-13 13:59 UTC
From: php at sharpdreams dot com Assigned: goba (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at sharpdreams dot com
New email:
PHP Version: OS:

 

 [2003-08-05 14:35 UTC] php at sharpdreams dot com
Description:
------------
Lately the mirror that php.net automatically selects for me has been running extremely slow. It appears that php.net thinks that that it is directing me to the closest mirror. The closest mirror may not be the fastest mirror for my ISP. I tried to locate a feature (on my php.net) to designate a mirror but could not find one, only a language over-ride.

I suggest that an option be put in place (kept track of via cookie) that allows users to force a mirror. That way, I can force my mirror to be us3.php.net and still be able to type in www.php.net/ and be redirected to my prefered mirror.

Yes, I realize that I can type in us3.php.net every time, but if I follow a link, etc, it still directs me to the "closest" mirror.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-06 03:09 UTC] goba@php.net
This was in planning, though not yet implemented. I will look into this as soon as I have time. BTW the main consern about this is that if the mirror is down, then you will not be able to get to any page through PHP.net (unless you know that exact URLs will not redirect you and/or that you can set your prefences at any mirror site).
 [2003-08-07 10:25 UTC] php at sharpdreams dot com
What about a script that runs on the main php server every 5 minutes that attempts to download an image or file from each mirror. If it doesn't respond in a reasonable amount of time, assume it "down" for 5 minutes and try again in the next run. When someone goes to www.php.net and has a mirror override on, if that server is down, redirect them to another mirror. This could also be worked into a script that emails a mirror's owner when it detects it as "down."
 [2003-08-07 10:36 UTC] goba@php.net
We already have a mirror checking system in place, which monitors the mirrors several parameters, and decides on disabling the mirror or not, until the problem is fixed. The script is run every hour. We don't have any plans to run it every five minutes though, unless this new feature will bring us such troubles... I would generaly suggest you use a mirror site, but the linking reason you provided is valid for redirections...
 [2003-08-13 13:59 UTC] goba@php.net
Feature implemented.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 03:01:28 2024 UTC