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 22:10:38 UTC

[cassandra-website] branch asf-site updated (bdc0c77 -> 06c0af3)

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

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


 discard bdc0c77  Documentation links broken, indexed by Google (CASSANDRA-16821)
     new 06c0af3  Documentation links broken, indexed by Google (CASSANDRA-16821)

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (bdc0c77)
            \
             N -- N -- N   refs/heads/asf-site (06c0af3)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 content/.htaccess | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

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


[cassandra-website] 01/01: Documentation links broken, indexed by Google (CASSANDRA-16821)

Posted by mc...@apache.org.
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

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

    Documentation links broken, indexed by Google (CASSANDRA-16821)
---
 content/.htaccess | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/content/.htaccess b/content/.htaccess
index c87afe0..43d49a6 100755
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -9,6 +9,21 @@ RewriteCond %{REQUEST_URI} !^/doc/.*
 RewriteCond %{REQUEST_URI} ^(.*)/$
 RewriteRule ^(.*)/$ /_/$1.html [R=301,L]
 
+# redirects to new antora in-tree docs
+
+RewriteCond %{REQUEST_URI} !^/doc/latest/index.html [NC]
+RewriteCond %{REQUEST_URI} !^/doc/latest/cassandra [NC]
+RewriteRule ^/?doc/latest/(.+)$ /doc/latest/cassandra/$1 [R=301,L]
+RewriteCond %{REQUEST_URI} !^/doc/stable/index.html [NC]
+RewriteCond %{REQUEST_URI} !^/doc/stable/cassandra [NC]
+RewriteRule ^/?doc/stable/(.+)$ /doc/stable/cassandra/$1 [R=301,L]
+RewriteCond %{REQUEST_URI} !^/doc/4.0/index.html [NC]
+RewriteCond %{REQUEST_URI} !^/doc/4.0/cassandra [NC]
+RewriteRule ^/?doc/4.0/(.+)$ /doc/4.0/cassandra/$1 [R=301,L]
+RewriteCond %{REQUEST_URI} !^/doc/3.11/index.html [NC]
+RewriteCond %{REQUEST_URI} !^/doc/3.11/cassandra [NC]
+RewriteRule ^/?doc/3.11/(.+)$ /doc/3.11/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