Re: Misconfigured mirrors (ServerName/ServerAlias)
| From: | Dave Barr | Date: | Tue, 09 May 2006 04:34:18 +0000 |
| Subject: | Re: Misconfigured mirrors (ServerName/ServerAlias) | ||
| References: | 1 2 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-31456@lists.php.net to get a copy of this message | ||
Gabor Hojtsy wrote:
Hi Dave,Okay, so these posts are almost a year old now, and the situation is the same. It seems /mirror-info on each mirror actually provides this information, but the mirror-check script doesn't do anything with it. Here is a patch for php-master-web that solves this once and for all: http://davephp.net/mirror-test.diff.txtThe following mirrors are classified as "unofficial mirrors":Thanks for working this out. It would be nice to have checks for such common errors as the multiviews, var handler and other stuff, which many mirrors have problems with. It is important to have xx.php.net as a ServerName, so that users will not get redirected and handled through some other address. You can get the list of mirror maintainers while logged in to master.php.net at http://master.php.net/manage/mirrors.php I thought about implementing a quick mail feature, where we can have some checkboxes in each mirror line, and we can choose to notify some maintainers about a common problem they have. It might be a good idea to implement this now. Let me know if you are interested in hooking this into the mirrors.php file in php-master-web, and have a patch to commit.au.php.net au2.php.net be2.php.net cn2.php.net hr.php.net cz.php.net cz2.php.net ir.php.net ie.php.net my2.php.net nz2.php.net pt2.php.net ru2.php.net es.php.net ch2.php.net tw2.php.net ua.php.netIf you visit /mirror.php on any of the above mirrors, you will receive the text "This site is not an official PHP.net mirror site" (I couldn't connect to ru.php.net to check). Also, the footer on each of these sites states "This unofficial mirror is operated at:". The problem lies within an Apache misconfiguration concerning ServerName ( and ServerAlias. The mirroring guide states that a mirror should use:ServerName xx.php.net ServerAlias the.cname.you.set.up.example.com www.xx.php.netHowever, in the above mirrors' cases, they are presumably doing the following:ServerName the.cname.you.set.up.example.com ServerAlias xx.php.net www.xx.php.netCould the mirrors be informed, or possibly a new check added to the mirror checking script?
GobaEnjoy! Dave