This is an automated email from the ASF dual-hosted git repository.
jimin pushed a commit to branch docusaurus
in repository https://gitbox.apache.org/repos/asf/incubator-seata-website.git
The following commit(s) were added to refs/heads/docusaurus by this push:
new 33be7929ebc optimize: disable auto index (#1039)
33be7929ebc is described below
commit 33be7929ebc2070f75bcd69b89803d5ea7c33fb8
Author: jimin <[email protected]>
AuthorDate: Thu Nov 20 10:12:16 2025 +0800
optimize: disable auto index (#1039)
Signed-off-by: slievrly <[email protected]>
---
.htaccess | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.htaccess b/.htaccess
index 6266cc0c6be..c8790d3cfdc 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,5 @@
+Options -Indexes
+ErrorDocument 403 "Access Forbidden"
DirectoryIndex index.html
FileETag MTime Size
<IfModule mod_expires.c>
@@ -11,11 +13,11 @@ FileETag MTime Size
ExpiresByType image/svg+xml "access plus 7 days"
ExpiresByType image/x-icon "access plus 7 days"
-
+
# CSS, JavaScript
ExpiresByType text/css "access plus 1 days"
ExpiresByType text/javascript "access plus 1 days"
ExpiresByType application/javascript "access plus 1 days"
-
+
</IfModule>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]