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/07 20:01:55 UTC

[cassandra-website] branch asf-site updated: redirects for the development in-tree docs having been moved to cassandra-website

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

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


The following commit(s) were added to refs/heads/asf-site by this push:
     new 509cf39  redirects for the development in-tree docs having been moved to cassandra-website
509cf39 is described below

commit 509cf39777f6dd2dd39ef1603a9c44db7df3c890
Author: mck <mc...@apache.org>
AuthorDate: Sat Aug 7 21:26:12 2021 +0200

    redirects for the development in-tree docs having been moved to cassandra-website
---
 content/.htaccess | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/content/.htaccess b/content/.htaccess
index 43d49a6..2d101db 100755
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -9,6 +9,10 @@ RewriteCond %{REQUEST_URI} !^/doc/.*
 RewriteCond %{REQUEST_URI} ^(.*)/$
 RewriteRule ^(.*)/$ /_/$1.html [R=301,L]
 
+# development in-tree docs have been moved to cassandra-website
+RewriteCond %{REQUEST_URI} ^/doc/latest/development/(.+).html [NC]
+RewriteRule ^/?doc/latest/development/(.+).html$ /_/development/$1.html [R=301,L]
+
 # redirects to new antora in-tree docs
 
 RewriteCond %{REQUEST_URI} !^/doc/latest/index.html [NC]

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