Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: phpweb / mirroring.php
Don't know if possible, BUT, if you put mirror-info.php IN manual/ and
check for its contents, you:

a) verify that /manual/ alias doesn't exist (you wouldn't get
mirror-info.php if it did)
b) still can have all the info mirror-info.php gives you.

the only downside I can think of, is if the /manual/ dir is getting
overwritten all the time by something else (like the documentation
creation script), but I wouldn't think this is the case, because if it
was, during to creation of new manuals, mirrors that would sync from the
master server would have a partial look of the site...

your opinion? :)

On Sat, 2004-12-18 at 14:59, Gabor Hojtsy wrote:

> Hi Edin,
> 
>
> 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

--
shimi <shimi@shimi.net>


Report this thread to moderator Post Follow-up to this message
Old Post
Shimi
12-18-04 05:49 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Mirrors archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:45 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.