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/07/14 16:59:39 UTC

[cassandra-website] branch asf-staging updated (36b91d8 -> efa16fb)

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

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


 discard 36b91d8  fix .htaccess (don't redirect /doc/latest/ )
     new efa16fb  fix .htaccess  don't redirect /doc/latest/  and /_/ redirects

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   (36b91d8)
            \
             N -- N -- N   refs/heads/asf-staging (efa16fb)

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


[cassandra-website] 01/01: fix .htaccess don't redirect /doc/latest/ and /_/ redirects

Posted by mc...@apache.org.
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 efa16fb00fbb1b457dbb52d591f3d794dd358e56
Author: mck <mc...@apache.org>
AuthorDate: Wed Jul 14 18:56:16 2021 +0200

    fix .htaccess
     don't redirect /doc/latest/
     and /_/ redirects
---
 content/.htaccess | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/.htaccess b/content/.htaccess
index 2417a9a..e3d4c8e 100755
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -3,11 +3,11 @@ RewriteEngine On
 RewriteCond %{HTTPS} !=on
 RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
 
-RedirectMatch 301 "/$" "/_/index.html"
+RedirectMatch 301 "^/$" "/_/index.html"
 
 RewriteCond %{REQUEST_URI} !^/doc/.*
 RewriteCond %{REQUEST_URI} ^(.*)/$
-RewriteRule ^(.*)/$ /_$1.html [R=301,L]
+RewriteRule ^(.*)/$ /_/$1.html [R=301,L]
 
 
 <IfModule mod_rewrite.c>

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