This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 27th, 2013  |  syntax: None  |  size: 1.17 KB  |  views: 327  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. CSS3117: @font-face failed cross-origin request. Resource access is restricted.
  2. Neuton-webfont.woff
  3.  
  4. CSS3117: @font-face failed cross-origin request. Resource access is restricted.
  5. YanoneKaffeesatz-Regular-webfont.woff
  6.  
  7. CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable.
  8. Neuton-webfont.ttf
  9.  
  10. CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable.
  11. YanoneKaffeesatz-Regular-webfont.ttf
  12.        
  13. <FilesMatch ".(ttf|otf|eot|woff)$">
  14.     <IfModule mod_headers.c>
  15.         Header set Access-Control-Allow-Origin "http://mydomain.com"
  16.     </IfModule>
  17. </FilesMatch>
  18.        
  19. BrowserMatch MSIE best-standards-support
  20. Header set X-UA-Compatible IE=8 env=best-standards-support
  21.        
  22. <system.webServer>
  23.           <httpProtocol>
  24.           <customHeaders>
  25.               <add name="Access-Control-Allow-Origin" value="*" />
  26.               <add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" />
  27.               <add name="Access-Control-Allow-Headers" value="Content-Type" />
  28.           </customHeaders>
  29.       </httpProtocol>
  30.   </system.webServer>
  31.        
  32. Response.AppendHeader("Access-Control-Allow-Origin", "*");
clone this paste RAW Paste Data