summaryrefslogtreecommitdiffstats
path: root/DOCS/tech
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-03 11:03:14 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-03 11:03:14 +0000
commitde222fac400f553bcbad3689cc7d15fc110125f5 (patch)
treed7e7895953e1a9fbd05895b4608bfc8bacf6aa30 /DOCS/tech
parent208d4343ef9689e3b7e3e4ce81cae9987560d7fe (diff)
downloadmpv-de222fac400f553bcbad3689cc7d15fc110125f5.tar.bz2
mpv-de222fac400f553bcbad3689cc7d15fc110125f5.tar.xz
Mention DNS round-robin system in the mirroring HOWTO.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22905 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech')
-rw-r--r--DOCS/tech/mirrors/mirror_howto.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/DOCS/tech/mirrors/mirror_howto.txt b/DOCS/tech/mirrors/mirror_howto.txt
index 59e91c54a6..bbc5da07f4 100644
--- a/DOCS/tech/mirrors/mirror_howto.txt
+++ b/DOCS/tech/mirrors/mirror_howto.txt
@@ -39,7 +39,10 @@ are performed.
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 @@ Here is an example stanza to paste into your Apache configuration:
AddDefaultCharset off
</VirtualHost>
+<VirtualHost www.mplayerhq.hu>
+ 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
+</VirtualHost>
+
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
~~~~~~~~~~~~~~~~~~~~~~~~