You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by cr...@apache.org on 2025/01/09 02:05:43 UTC

(iotdb-docs) 01/01: add htaccess fot 404 be like https://github.com/apache/www-site/blob/main/content/.htaccess

This is an automated email from the ASF dual-hosted git repository.

critas pushed a commit to branch wx_404
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git

commit a9fb08fc331502fc92586d1bdcce3cebd09f9ac7
Author: CritasWang <cr...@outlook.com>
AuthorDate: Thu Jan 9 10:05:29 2025 +0800

    add htaccess fot 404
    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