Home > Archive > PHP Mirrors > June 2005 > Misconfigured mirrors (ServerName/ServerAlias)
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Misconfigured mirrors (ServerName/ServerAlias)
|
|
| Dave Barr 2005-06-11, 3:56 am |
| Hi,
The following mirrors are classified as "unofficial mirrors":
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.net
If 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.net
However, 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.net
Could the mirrors be informed, or possibly a new check added to the
mirror checking script?
Thanks!
Dave
| |
| Gabor Hojtsy 2005-06-11, 3:55 pm |
| Hi Dave,
> The following mirrors are classified as "unofficial mirrors":
>
> 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.net
>
> If 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.net
>
> However, 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.net
>
> Could the mirrors be informed, or possibly a new check added to the
> mirror checking script?
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.
Goba
|
|
|
|
|