How can I sure? Syntax is : Header set Content-Security-Policy default-src 'self'
On Friday, September 18, 2020, 12:06:27 AM GMT+4:30, John <john.ili...@iliffe.ca> wrote: Are you sure the header is coded properly? I've never used it but here is an example: Content-Security-Policy: default-src 'self' Note there are no ' "" ' around the default-src. My reference is: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP Regards, John ============================================ On Thu, 2020-09-17 at 19:27 +0000, Jason Long wrote: > Hello, > When I added "Header set Content-Security-Policy "default-src > 'self';"" to "httpd.conf" then my website style and some graphical > features are disable. > Why? > > Thank you. > > -------------------------------------------------------------------- > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org