This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/causeway-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new e7c6719674 adds IfModule guard; Set should be set
e7c6719674 is described below
commit e7c6719674d619688893d72c1ddbb3f70b59b1e4
Author: Dan Haywood <[email protected]>
AuthorDate: Tue Apr 15 14:23:38 2025 +0100
adds IfModule guard; Set should be set
---
content/.htaccess | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/content/.htaccess b/content/.htaccess
index db4dbf9e8e..e245d2f828 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -1 +1,3 @@
-Header Set Content-Security-Policy "default-src 'self' data: blob:
'unsafe-inline' https://www.apachecon.com/ https://www.communityovercode.org/
https://analytics.apache.org/; script-src 'self' 'unsafe-inline' 'unsafe-eval'
https://www.apachecon.com/ https://*.apache.org/ https://apache.org/; style-src
'self' 'unsafe-inline' data: https://*.apache.org/ https://apache.org/;
frame-ancestors 'self'; frame-src 'self' data: blob:; img-src 'self' data:
https://*.apache.org/ https://apache.org/ [...]
+<IfModule mod_headers.c>
+ Header set Content-Security-Policy "default-src 'self' data: blob:
'unsafe-inline' https://www.apachecon.com/ https://www.communityovercode.org/
https://analytics.apache.org/; script-src 'self' 'unsafe-inline' 'unsafe-eval'
https://www.apachecon.com/ https://*.apache.org/ https://apache.org/; style-src
'self' 'unsafe-inline' data: https://*.apache.org/ https://apache.org/;
frame-ancestors 'self'; frame-src 'self' data: blob:; img-src 'self' data:
https://*.apache.org/ https://apache. [...]
+</IfModule>