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-log4j-kotlin.git
The following commit(s) were added to refs/heads/asf-staging by this push:
new cb21240 Replace HTML redirect with HTTP redirect
cb21240 is described below
commit cb21240f42224d92fa99575fe1db81ec70d27751
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Wed Dec 27 08:43:02 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..749c127
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,3 @@
+RewriteEngine On
+RewriteRule "^$" "/log4j/kotlin/latest/" [R]
+
diff --git a/index.html b/index.html
deleted file mode 100644
index 3f13c7c..0000000
--- a/index.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <title>Apache Log4j Kotlin API</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>