You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2021/08/04 19:28:16 UTC

[cassandra-website] branch asf-staging updated: CASSANDRA-16821

This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new d254f7d  CASSANDRA-16821
d254f7d is described below

commit d254f7d2b5965292db72ab8b0d68fe76aad65df4
Author: mck <mc...@apache.org>
AuthorDate: Wed Aug 4 21:27:44 2021 +0200

    CASSANDRA-16821
---
 content/.htaccess | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/content/.htaccess b/content/.htaccess
index c87afe0..35a0342 100755
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -9,6 +9,9 @@ RewriteCond %{REQUEST_URI} !^/doc/.*
 RewriteCond %{REQUEST_URI} ^(.*)/$
 RewriteRule ^(.*)/$ /_/$1.html [R=301,L]
 
+RewriteCond %{REQUEST_URI} !^/doc/latest/cassandra [NC]
+RewriteRule ^/?doc/latest/(.*)$ /doc/latest/cassandra/$1 [R=301,L]
+
 
 <IfModule mod_rewrite.c>
     RewriteEngine on

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org