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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user