Re: Another Official Mirror on Indonesia
| From: | Indra Kusuma | Date: | Tue, 06 Apr 2004 03:42:21 +0000 |
| Subject: | Re: Another Official Mirror on Indonesia | ||
| References: | 1 2 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-24176@lists.php.net to get a copy of this message | ||
At 01:28 PM 4/2/2004 +0200, Gabor Hojtsy wrote:
Hi Indra!Hi Gabor,
Id2.php.net seems to be free to take. Feel free to set up a mirror site as described at http://php.net/mirroring, and please provide us with the required details to integrate the site into the official mirrors site list.I already setup the vhost[0] pn this server : Hostname : php.indika.net.id IP Address : 202.87.191.34 Operating System : Debian/GNU Linux 3.0 Location : Jakarta Indonesia Bandwidth : Directly connected to 100 MB IIX (Indonesian Internet Exchange) and 1 MB to International. Im scheduling to grab the files by tonight via rsync[1], is ok for me to also provide rsync server for this mirror ? Please inform me if theres incomplete procedure/setting regarding this Thanks, -- ik [0] /etc/apache/httpd.conf : <VirtualHost php.indika.net.id>
ServerName php.indika.net.id
# ServerAlias php.indika.net.id www.id2.php.net
ServerAdmin ik@indika.net.id
# Webroot of PHP mirror site
DocumentRoot /var/www/php-net
# These PHP settings are necessary to run a mirror
php_value include_path .:/var/www/php-net/include
php_flag register_globals on
# Log server activity
ErrorLog /var/log/apache/error.log
TransferLog /var/log/apache/access.log
# Set directory index
DirectoryIndex index.php index.html
# Do not display directory listings if index is not present,
# and do not try to match filenames if extension is omitted
Options -Indexes -MultiViews
# Handle errors with local error handler script
ErrorDocument 401 /error.php
ErrorDocument 403 /error.php
ErrorDocument 404 /error.php
# Add types not specified by Apache by default
AddType application/octet-stream .chm .bz2 .tgz
AddType application/x-pilot .prc .pdb
# Set mirror's preferred language here
#SetEnv MIRROR_LANGUAGE "en"
# The next lines are only necessary if generating
# stats (see below), otherwise you should comment them out
#Alias /stats/ /path/to/local/stats/
#SetEnv MIRROR_STATS 1
</VirtualHost>
[1] rsync -avzC --timeout=600 --delete --delete-after --include='manual/en/' --include='manual/en/**' --exclude='manual/**' --exclude='distributions/manual/**' rsync.php.net::phpweb /var/www/php-net/