Re: phpweb / mirroring.php

From: Date: Sat, 18 Dec 2004 12:59:08 +0000
Subject: Re: phpweb / mirroring.php
References: 1 2  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-26889@lists.php.net to get a copy of this message
Hi Edin,
Don't you think that limiting ability for mirroring PHP web site to one web server and even one of the sapi's for that server is a bad signal to send? What sort of problem does virtual() solve that cannot be dealt with in other, more portable way?
We check for the availability of /manual/noalias.txt on the server, which is used to filter out mirrors having the default Apache manual alias still switched on. This can only be dealt with virtual() since it depends on the server handling the request, and not PHP. Alternatively we could require URL fopen on mirrors and check with that, or we could send a second test request to the mirrors when checking their status. I have introduced this virtual() check in june 2003, and noone complained about it so far, except that a few mirrors have used suphp. This is the file we poll to get the current mirror status: http://cvs.php.net/phpweb/mirror-info.php And this is the script that does the check: http://cvs.php.net/php-master-web/scripts/mirror-test Now if someone does some magic to not use virtual, but still check for the local manual availabilty on mirrors, I would probably be positive on using that. When changing/upgrading servers, it is very common on mirrors to forget to remove the manual alias, which makes the PHP manual hidden and unreadable behind the Apache manual... Goba

« previous php.mirrors (#26889) next »