0

I use apache, my website has a ServerName 'yueai', I want to add a ServerAlias '192.168.1.154'. But it didn't work on some broswers, and on chrome it show the following error:

Font from origin 'http://yueai' 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://192.168.1.154' is therefore not allowed access.
lizs
  • 540
  • 2
  • 8
  • 18
  • This error has nothing to do with the ServerAlias, you are running into a CORS issue: http://enable-cors.org/ – Drazisil Dec 22 '15 at 01:57
  • Also take a look at this question: http://stackoverflow.com/questions/25577981/font-from-origin-has-been-blocked-from-loading-by-cross-origin-resource-sharing – Sam Bellerose Dec 22 '15 at 02:07

0 Answers0