This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
The following commit(s) were added to refs/heads/asf-site by this push:
new cb27e77 Replace HTML redirect with HTTP redirect
cb27e77 is described below
commit cb27e774fa0780a6402882f8c068d6438d1685a5
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Thu Jan 11 13:29:19 2024 +0100
Replace HTML redirect with HTTP redirect
---
.htaccess | 3 +++
index.html | 10 ----------
2 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..0798193
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,3 @@
+RewriteEngine On
+
+RewriteRule "^$" "/logging-parent/latest/" [R]
diff --git a/index.html b/index.html
deleted file mode 100644
index 447a5f2..0000000
--- a/index.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <title>Apache Logging Services Parent</title>
- <meta http-equiv="refresh" content="0; url=latest"/>
-</head>
-<body>
-<p>You will be redirected to the <a href="latest">latest</a> version of the
website.</p>
-</body>
-</html>