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:56:50 UTC

[cassandra-website] branch asf-staging updated: fix .htaccess (don't redirect /doc/latest/ )

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 36b91d8  fix .htaccess (don't redirect /doc/latest/ )
36b91d8 is described below

commit 36b91d8c96599c6a6af12a125de93969e99e0c3d
Author: mck <mc...@apache.org>
AuthorDate: Wed Jul 14 18:56:16 2021 +0200

    fix .htaccess (don't redirect /doc/latest/ )
---
 content/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/.htaccess b/content/.htaccess
index 2417a9a..380d7a6 100755
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -3,7 +3,7 @@ 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} ^(.*)/$

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