This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
The following commit(s) were added to refs/heads/asf-staging by this push:
new 955d185 Replace HTML redirect with HTTP redirect
955d185 is described below
commit 955d18578a93df414a0d4c70e76a727f5dbb5306
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Wed Nov 1 22:58:58 2023 +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>