[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian webmirrors: virtual hosts, Content-Type



On Sat, Aug 15, 2009 at 06:39:09PM +0200, Simon Paillard wrote:
> As you may know, www.debian.org recently moved to GeoDNS[0].
> http://dsa.debian.org/dsablog/2009/07/Howto_mess_up_the_Debian_Project_homepage/
> 
> Though for the moment, only a subset of webmirrors are part of the
> GeoDNS setup, it raises some issues about Apache (or whatever daemon)
> configuration with respect to virtual hosts, content-negociation and mime types.
> 
> 1/ Virtual hosts
> ----------------
> Please check that you allow www.debian.org as virtualhost for your
> mirror of the Debian website.

Requirement added in the patch attached, in the case someone want to review it.

> 2/ Mime-types
> -------------

Matt Kraai already documented this.

> 3/ Other parameters, like redirection, language:
> ------------------------------------------------
> Please review your apache configuration according to
> http://www.debian.org/mirror/webmirror.en.html#ref 

Regards.

-- 
Simon Paillard
Index: webmirror.wml
===================================================================
RCS file: /cvs/webwml/webwml/english/mirror/webmirror.wml,v
retrieving revision 1.43
diff -u -r1.43 webmirror.wml
--- webmirror.wml	14 Aug 2009 03:30:38 -0000	1.43
+++ webmirror.wml	16 Sep 2009 20:05:26 -0000
@@ -276,3 +276,15 @@
 Redirect /Packages http://packages.debian.org
 Redirect /lintian http://lintian.debian.org
 </pre>
+
+<h4><a name="vh">Virtual hosts</a></h4>
+
+<p>The Debian website, accessed through <a
+href="www.debian.org">www.debian.org</a> and under several other names, uses a
+GeoDNS setup in order to spread the load and select a mirror close to the user's
+location.</p>
+
+<p>As a consequence, Apache should make available the Debian website
+through several virtual hosts, like this:</p>
+
+<pre>ServerAlias www.debian.org www.debian.com debian.org www.*.debian.org</pre>

Reply to: