• Resolved dzembak

    (@dzembak)


    When I added safety header to .htaccess, something went wrong (see website). If I remove this code, everything is fine. Could you please fix it?

    
    # Safe Headers
    <ifModule mod_headers.c>
    Header set Strict-Transport-Security "max-age=31536000; includeSubDomains;?"
    Header set X-XSS-Protection "1; mode=block"
    Header set X-Frame-Options "SAMEORIGIN"
    Header set X-Content-Type-Options "nosniff"
    Header set Content-Security-Policy " style-src 'self';"
    Header set Referrer-Policy "origin-when-cross-origin;"
    Header set Feature-Policy "speaker 'none';@
    </ifModule>
    
    • This topic was modified 5 years, 2 months ago by dzembak.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dzembak

    (@dzembak)

    Hello! This line affects error:
    Header set Content-Security-Policy " style-src 'self';"

    Plugin Author Vova

    (@gn_themes)

    Hi @dzembak,

    unfortunately, I’m unable to help with server configuration as this is beyond my scope.

    Please contact your server administrator.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error with mod_headers.c’ is closed to new replies.