From fca5ccfe84436b29e1e987600f880257ba2d928c Mon Sep 17 00:00:00 2001 From: rclabo Date: Wed, 30 Oct 2024 14:49:05 -0400 Subject: [PATCH] website/site/.htaccess - bug fix by removing BOM and update for beta00017 redirection --- websites/site/.gitattributes | 2 +- websites/site/.htaccess | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/websites/site/.gitattributes b/websites/site/.gitattributes index 7803b1f166..8999b4d3fb 100644 --- a/websites/site/.gitattributes +++ b/websites/site/.gitattributes @@ -1 +1 @@ -.htaccess text eol=lf +.htaccess text eol=lf working-tree-encoding=UTF-8 diff --git a/websites/site/.htaccess b/websites/site/.htaccess index 96d4584f73..578948c699 100644 --- a/websites/site/.htaccess +++ b/websites/site/.htaccess @@ -1,4 +1,4 @@ -# ----------------------------------------------------------------------------------- +# ----------------------------------------------------------------------------------- # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with @@ -32,7 +32,8 @@ # version, with [R=301] signaling permanent redirects and [L] preventing further # rule processing. # -# Note: This file is line ending sensitive. MUST use LF line endings. +# Note: This file is line ending and BOM sensitive. It MUST use LF line endings and +# MUST NOT have a BOM. RewriteEngine On @@ -40,5 +41,5 @@ RewriteEngine On # Redirect /docs/latest/ to /docs/3.0.3/ RewriteRule ^docs/latest/(.*)$ /docs/3.0.3/$1 [R=301,L] -# Redirect /docs/absolute-latest/ to /docs/4.8.0-beta00016/ -RewriteRule ^docs/absolute-latest/(.*)$ /docs/4.8.0-beta00016/$1 [R=301,L] +# Redirect /docs/absolute-latest/ to /docs/4.8.0-beta00017/ +RewriteRule ^docs/absolute-latest/(.*)$ /docs/4.8.0-beta00017/$1 [R=301,L] \ No newline at end of file