Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter robin69

    (@robin69)

    this is my vhost file code

    context / {
      location                $DOC_ROOT/
      allowBrowse             1
      extraHeaders            Access-Control-Allow-Origin *
    
      rewrite  {
    RewriteFile .htaccess
      }
      addDefaultCharset       off
    
      phpIniOverride  {
    
      }
    }
    Thread Starter robin69

    (@robin69)

    This is htaceess file

    <IfModule mod_rewrite.c>
    ######################
    ## Handling Options for the CORS
         RewriteCond %{REQUEST_METHOD} OPTIONS
         RewriteRule ^(.*)$ $1 [L,R=204]
    
    ###################
    ## Add custom headers
    
        Header set X-Content-Type-Options "nosniff"
        Header set X-XSS-Protection "1; mode=block"
           # Always set these headers for CORS.
        Header always set Access-Control-Max-Age 1728000
        Header always set Access-Control-Allow-Origin: "*"
        Header always set Access-Control-Allow-Methods: "GET,POST,OPTIONS,DELETE,PUT"
        Header always set Access-Control-Allow-Headers: "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,C$
        Header always set Access-Control-Allow-Credentials true
    </IfModule>
    Plugin Author luckychingi

    (@luckychingi)

    Hello @robin69

    Is this still an issue? The icons seems to load fine on my end.

    Thread Starter robin69

    (@robin69)

    it got solved after doing process purge cache from cloudfront panel and force http to https.

    Yes it got solved!

    Plugin Author luckychingi

    (@luckychingi)

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘My Header Icons Are Breaking’ is closed to new replies.