This is an automated email from the ASF dual-hosted git repository.
davidarthur pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/kafka-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 106357750 fixup htaccess
106357750 is described below
commit 106357750f424c22370eebe2e1066534ffe34c36
Author: David Arthur <[email protected]>
AuthorDate: Wed Dec 17 15:57:12 2025 -0500
fixup htaccess
---
.htaccess | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/.htaccess b/.htaccess
index 02b524352..57792f704 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,13 +1 @@
-Options +Includes
-RewriteEngine On
-AddType text/html .html
-AddHandler server-parsed .html
-Redirect 301 /design.html /documentation#design
-
-RewriteRule ^/?(\d+)/generated/ - [S=4]
-RewriteRule ^/?(\d+)/documentation(\.html)? - [S=3]
-RewriteRule ^/?(\d+)/javadoc - [S=2]
-RewriteRule ^/?(\d+)/images/ - [S=1]
-RewriteCond $2 !=protocol
-RewriteRule ^/?(\d+)/([a-z]+)(\.html)? /$1/documentation#$2 [R=302,L,NE]
-Header set Content-Security-Policy "frame-src https://youtube.com
https://www.youtube.com"
+Header set Content-Security-Policy "style-src 'self' 'unsafe-inline'
https://fonts.googleapis.com; script-src 'self' 'unsafe-inline'
https://unpkg.com https://code.jquery.com"