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

commit 1aa3280333f17909b9a7c35400e8459e990707a9
Author: mck <[email protected]>
AuthorDate: Wed Aug 18 18:30:45 2021 +0200

    ninja-fix: hack in /Cassandra/ to /doc/ redirect
---
 content/.htaccess | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/content/.htaccess b/content/.htaccess
index d8b7945..d38e3f4 100755
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -9,6 +9,11 @@ RewriteCond %{REQUEST_URI} !^/doc/.*
 RewriteCond %{REQUEST_URI} ^(.*)/$
 RewriteRule ^(.*)/$ /_/$1.html [R=301,L]
 
+# temp – while in-tree antora are building to /Cassandra/
+RewriteCond %{REQUEST_URI} !^/doc/.*
+RewriteCond %{REQUEST_URI} ^/Cassandra/(.*)$
+RewriteRule ^/?Cassandra/(.*)$ /doc/$1 [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]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to