Bug #67602 [NEW]: Font-Loading depends on subdomain "www"
| From: | cicer0 at arcor dot de | Date: | Thu, 10 Jul 2014 09:05:34 +0000 |
| Subject: | Bug #67602 [NEW]: Font-Loading depends on subdomain "www" | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-19425@lists.php.net to get a copy of this message | ||
From: cicer0 at arcor dot de
Operating system: OSX
PHP version: Irrelevant
Package: Website problem
Bug Type: Bug
Bug description:Font-Loading depends on subdomain "www"
Description:
------------
While reading about different methods, I noticed by switching through
two open tabs, that the fonts/typefaces differed.
php.net-Admins don't allow cross-font-loading. It is only allowed for
"www.php.net".
Message from the console:
2014-07-10 10:57:09.646 Font from origin 'http://www.php.net' has been
blocked from loading by Cross-Origin Resource Sharing policy: No
'Access-Control-Allow-Origin' header is present on the requested
resource. Origin 'http://php.net' is therefore not
allowed access.
Possible solutions:
1) allow CORS for "php.net"
or (maybe better - regarding 'seo'/'consistency')
2) force clients to the "www.php.net" domain
As inspiration or just as informative backup:
https://github.com/h5bp/server-configs-nginx
Cheers:S
Expected result:
----------------
Same fonts on both domains.
Actual result:
--------------
Different fonts on both domains.
--
Edit bug report at https://bugs.php.net/bug.php?id=67602&edit=1
--