1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

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.

This commit is contained in:
Ferenc Kovacs
2012-09-29 22:51:06 +02:00
parent 8219cc808a
commit 93a8e7b4dc

View File

@@ -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 yourname@example.com
UseCanonicalName On
# Webroot of PHP mirror site
DocumentRoot /www/htdocs/phpweb