rclabo commented on code in PR #1005:
URL: https://github.com/apache/lucenenet/pull/1005#discussion_r1823450824


##########
websites/site/.htaccess:
##########
@@ -32,13 +32,14 @@
 # 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
 
 # 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]

Review Comment:
   I could probably automate it by modifying the website/site/site.ps1 to get 
the value like '4.8.0-beta00017' from the last sorted doc in the 
/site/download/ folder ie version-4.8.0-beta00017.md and then updating the 
value in the .htaccess before copying it into the _site folder.  How does that 
sound?  Or do you have ideas on a better source to get the highest value like 
'4.8.0-beta00017'  value from?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to