| commit | 1ba9dbf15a17e38ba3cbfc6be167669f5562ab08 | [log] [tgz] | 
|---|---|---|
| author | Piotr P. Karwasz <piotr.github@karwasz.org> | Sat Sep 07 12:49:47 2024 +0200 | 
| committer | Piotr P. Karwasz <piotr.github@karwasz.org> | Sat Sep 07 12:50:05 2024 +0200 | 
| tree | f1ad00fd10177c784a4e74436387f600eaf07ad4 | |
| parent | eca70e33e35dda41310dd41d8efafa56968a6e55 [diff] | 
Use `2.x/index.html` as redirect target`
diff --git a/.htaccess b/.htaccess index 9d2fdaa..1b6ef01 100644 --- a/.htaccess +++ b/.htaccess
@@ -1,7 +1,7 @@ RewriteEngine On RewriteBase "/log4j/" # Latest version -RewriteRule "^$" "2.x/" [R] +RewriteRule "^(index\.(html)?)?$" "2.x/index.html" [R] # Relocation of changelog RewriteRule "^changelog-(\d+\.\d+\.\d+)\.xsd$" "/xml/ns/log4j-changelog-$1.xsd" [R=permanent] # Aliases for 1.x releases