Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. Access to Font at 'http://mycloudfrontID.cloudfront.net/wp-content/themes/bridge/css/font-awesome/fonts/fontawesome-webfont.woff2?v=4.6.3' from origin 'http://mydomainname' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://maxmajor.net' is therefore not allowed access.
  2.  
  3. <?xml version="1.0" encoding="UTF-8"?>
  4. <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
  5. <CORSRule>
  6. <AllowedOrigin>*</AllowedOrigin>
  7. <AllowedMethod>GET</AllowedMethod>
  8. <MaxAgeSeconds>3000</MaxAgeSeconds>
  9. <AllowedHeader>Authorization</AllowedHeader>
  10. </CORSRule>
  11. </CORSConfiguration>
  12.  
  13. <FilesMatch ".(ttf|ttc|otf|eot|woff|woff2|font.css)$">
  14. <IfModule mod_headers.c>
  15. Header set Access-Control-Allow-Origin "*"
  16. </IfModule>
  17. </FilesMatch>
  18.  
  19. <IfModule mod_headers.c>
  20. <FilesMatch ".(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$">
  21. Header set Access-Control-Allow-Origin "*"
  22. </FilesMatch>
  23. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement