This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/arrow-java.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 619dc3ec GH-571: [Docs] Redirect https://arrow.apache.org/java/ to
https://arrow.apache.org/java/current/ (#573)
619dc3ec is described below
commit 619dc3ecd653068029c4985dfdaa1387a73a20d7
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Jan 30 13:28:48 2025 +0900
GH-571: [Docs] Redirect https://arrow.apache.org/java/ to
https://arrow.apache.org/java/current/ (#573)
Fixes #571.
---
.htaccess | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 00000000..b80a2aec
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+RedirectMatch permanent "^/$" /current/