Commit:    93a8e7b4dcb8ad5bb87415ec2f681c4a09bc1b7a
Author:    Ferenc Kovacs <[email protected]>         Sat, 29 Sep 2012 22:51:06 
+0200
Parents:   8219cc808a0f47bac1907e4ebdaac17f8ffa6657
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=93a8e7b4dcb8ad5bb87415ec2f681c4a09bc1b7a

Log:
with UseCanonicalName On, apache will populate ['SERVER_NAME'] from the value 
of ServerName. without that the SERVER_NAME will be different for www.php.net 
and php.net, hence it can cause problems when we look up the mirror from the 
mirrors array where the mirrors are indexed by the host.

Changed paths:
  M  mirroring.php


Diff:
diff --git a/mirroring.php b/mirroring.php
index a49a982..ad0237f 100644
--- a/mirroring.php
+++ b/mirroring.php
@@ -200,6 +200,7 @@ europe.rsync.php.net
      ServerName xx.php.net
      ServerAlias the.cname.you.set.up.example.com www.xx.php.net
      ServerAdmin [email protected]
+     UseCanonicalName On
      
      # Webroot of PHP mirror site
      DocumentRoot /www/htdocs/phpweb


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to