Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

with UseCanonicalName On, apache will populate ['SERVER_NAME'] from t…

…he 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.
  • Loading branch information...
commit 93a8e7b4dcb8ad5bb87415ec2f681c4a09bc1b7a 1 parent 8219cc8
Ferenc Kovacs Tyrael authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  mirroring.php
1  mirroring.php
@@ -200,6 +200,7 @@ function make_seed()
200 200 ServerName xx.php.net
201 201 ServerAlias the.cname.you.set.up.example.com www.xx.php.net
202 202 ServerAdmin yourname@example.com
  203 + UseCanonicalName On
203 204
204 205 # Webroot of PHP mirror site
205 206 DocumentRoot /www/htdocs/phpweb

0 comments on commit 93a8e7b

Please sign in to comment.
Something went wrong with that request. Please try again.