This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 38d6dade add htaccess fot 404 (#512)
38d6dade is described below
commit 38d6dade94e640807618aed83f4bac5133d6c554
Author: CritasWang <[email protected]>
AuthorDate: Thu Jan 9 10:08:31 2025 +0800
add htaccess fot 404 (#512)
be like https://github.com/apache/www-site/blob/main/content/.htaccess
---
src/.vuepress/public/.htaccess | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/.vuepress/public/.htaccess b/src/.vuepress/public/.htaccess
new file mode 100644
index 00000000..7c717657
--- /dev/null
+++ b/src/.vuepress/public/.htaccess
@@ -0,0 +1,7 @@
+RewriteEngine On
+
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule . /404.html [L]
+
+ErrorDocument 404 /404.html