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 ec062f9e3a #1 - updates .htaccess in line with ASF infra policy.
ec062f9e3a is described below
commit ec062f9e3a5f9a9af0c7c16e6410370c9d307d7d
Author: Dan Haywood <[email protected]>
AuthorDate: Sun Oct 26 08:21:31 2025 +0000
#1 - updates .htaccess in line with ASF infra policy.
https://infra.apache.org/tools/csp.html
---
content/.htaccess | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/content/.htaccess b/content/.htaccess
index e245d2f828..be3c2be706 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -1,3 +1,2 @@
-<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>
+# CSP permissions for causeway.apache.org - Adding 3rd party service Algolia.
Approved by VP Data Privacy.
+SetEnv CSP_PROJECT_DOMAINS "https://*.algolia.net/ https://*.algolianet.com/
https://*.algolia.io/"