Re: setting up mirror not in documentroot

[email protected] (Rudy Gevaert)
Newsgroups php.mirrors
Organization Universiteit Gent
Message-ID <[email protected]>
Stream Service wrote:
> Hello Rudy,
> 
> You could prepend a PHP-file. In this file you can override the
> $_SERVER['DOCUMENT_ROOT'].
> 
> The file could look like this:
> <?php
> $_SERVER['DOCUMENT_ROOT'] = "/home/rgevaert/WWW/php";
> ?>
> 
> After this $_SERVER['DOCUMENT_ROOT'] would point to /home/rgevaert/WWW/php.
> 
> With kind regards,


Yes that is correct.  The problem here is that I would then edit the php 
files.  And break my rsync setup :(

The server is behind a link of 8Mbit/s for a whole university.  Meaning 
more than 2000 pc are constantly using it.

I would of course do the rsync at night, but each bit I spare is good.

I think the only solution would be a change upstream of the php website.

Thanks
-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          [email protected]          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep Systemen                    Systems group
Universiteit Gent                 Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.