# HG changeset patch # User diego # Date 1175598194 0 # Node ID dc3ff1498f69a43bc9565bf3abcecb1b58485ff8 # Parent 71b3e04d055587c03ff6a29e2822930953e34e21 Mention DNS round-robin system in the mirroring HOWTO. diff -r 71b3e04d0555 -r dc3ff1498f69 DOCS/tech/mirrors/mirror_howto.txt --- a/DOCS/tech/mirrors/mirror_howto.txt Sun Apr 01 21:59:54 2007 +0000 +++ b/DOCS/tech/mirrors/mirror_howto.txt Tue Apr 03 11:03:14 2007 +0000 @@ -39,7 +39,10 @@ Mirrors should provide their data over HTTP or FTP or both. Each official mirror will be assigned a mirror number (wwwXXX.mplayerhq.hu or ftpXXX.mplayerhq.hu where XXX is the mirror number). This mirror -number determines the hostname over which it will be reached. +number determines the hostname over which it can be reached directly. + +All mirrors are put into our DNS round-robin for the www.mplayerhq.hu and +ftp.mplayerhq.hu names and should be set up to respond to these names as well. Getting the data, mirroring script and cron setup @@ -155,10 +158,21 @@ AddDefaultCharset off + + DocumentRoot /path/to/htdocs + Options FollowSymLinks Indexes + Alias /homepage /path/to/htdocs + Alias /MPlayer /path/to/MPlayer + Alias /DOCS /path/to/MPlayer/DOCS + AddDefaultCharset off + + The AddDefaultCharset directive is necessary because newer versions of Apache appear to default to defining a standard charset. This breaks our documentation translations, which are written in different encodings. +The second VirtualHost is necessary for the DNS round-robin address. + Setting up an FTP server ~~~~~~~~~~~~~~~~~~~~~~~~