Re: unofficial mirror warning for cc.php.net

From: Date: Fri, 01 Feb 2013 17:19:56 +0000
Subject: Re: unofficial mirror warning for cc.php.net
References: 1 2  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-39695@lists.php.net to get a copy of this message
On Fri, Feb 1, 2013 at 6:05 PM, Rasmus Lerdorf <rasmus@lerdorf.com> wrote: > 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. > yep > > > 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. > Personally I agree with you that it would be the best to keep the separate mirror subdomains and the user's ability to select a mirror explicitly. But I suppose there were some plan to direct more traffic to the cc.php.netdomains Currently we don't propagate those, and they are only getting traffic (I guess) because in the pre-round-robin times the primary mirror was always called cc.php.net and there is a bunch of random places on the internet which has links for those domains.. Am I missing something here? -- Ferenc Kovács @Tyr43l - http://tyrael.hu

« previous php.mirrors (#39695) next »