You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2024/02/27 13:50:21 UTC
(logging-log4j-site) branch asf-site updated: Add `END` to the `2.0` rewrite rule
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-log4j-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 6df0be695e Add `END` to the `2.0` rewrite rule
6df0be695e is described below
commit 6df0be695ea9d70167fdce6362254e3a370a2544
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Tue Feb 27 14:49:11 2024 +0100
Add `END` to the `2.0` rewrite rule
For some reason the rule causes a redirect to itself.
---
.htaccess | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.htaccess b/.htaccess
index 36ed0bc0b6..765f0bd77a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -3,4 +3,4 @@ RewriteBase "/log4j/"
# Latest version
RewriteRule "^$" "2.x/" [R]
# Aliases for 2.x releases
-RewriteRule "^2\.0(|/(.*))$" "2.x/$2" [R=permanent]
+RewriteRule "^2\.0(|/(.*))$" "2.x/$2" [R=permanent,END]