Re: unofficial mirror warning for cc.php.net

From: Date: Fri, 01 Feb 2013 17:05:31 +0000
Subject: Re: unofficial mirror warning for cc.php.net
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-39694@lists.php.net to get a copy of this message
On 02/01/2013 08:59 AM, Ferenc Kovacs wrote: > Hi guys, > > I think I have an idea how a slight change in our recommended apache > vhost config could fix the unofficial mirror warnings for the cc.php.net > <http://cc.php.net>. > I think this is the same solution which some mirrors come up with, see > http://au.php.net/ for example. > The necessary steps are the following: > use ccx.php.net <http://ccx.php.net> as your ServerName > UseCanonicalName On > (http://httpd.apache.org/docs/2.2/mod/core.html#usecanonicalname) > which will cause that $_SERVER['SERVER_NAME'] will always point to > ccx.php.net <http://ccx.php.net> which means that it will > always work. > The only downside is that we have a couple of links where we have > absolute urls containing the domain This sounds like the right fix. And we should be able to clean up those URLs. > I would also like to know what was the original plan for the > introduction of the cc.php.net <http://cc.php.net> > loadbalanced domains? > I suppose we planned to phase out the invidual mirror selection on My > php.net <http://php.net> and redirecting to invidual > mirrors in favor of > using these round robined domains. I don't think we need to phase that out. It can be handy to let users hardcode a specific mirror for latency reasons. -Rasmus

« previous php.mirrors (#39694) next »