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
-- 


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

Reply via email to