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 2020/04/19 17:31:27 UTC

[cassandra-website] branch master updated: test directory listing of doc/

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c2132c5  test directory listing of doc/
c2132c5 is described below

commit c2132c50c7209c2d48c46dc2fd5e531de21c8b5d
Author: mck <mc...@apache.org>
AuthorDate: Sun Apr 19 19:30:37 2020 +0200

    test directory listing of doc/
---
 content/.htaccess      |  3 ---
 content/doc/.htaccess  |  1 +
 content/doc/index.html | 13 -------------
 3 files changed, 1 insertion(+), 16 deletions(-)

diff --git a/content/.htaccess b/content/.htaccess
deleted file mode 100644
index a254c35..0000000
--- a/content/.htaccess
+++ /dev/null
@@ -1,3 +0,0 @@
-RewriteEngine On
-
-RewriteRule /doc/ /doc/latest/ [NC,L]
diff --git a/content/doc/.htaccess b/content/doc/.htaccess
new file mode 100644
index 0000000..e1d2560
--- /dev/null
+++ b/content/doc/.htaccess
@@ -0,0 +1 @@
+Options +Indexes
diff --git a/content/doc/index.html b/content/doc/index.html
deleted file mode 100644
index 93a7231..0000000
--- a/content/doc/index.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE HTML>
-<!-- HTML redirect to the latest documentation. Using HTML redirect is a bit ugly, but it's only used for local
-  testing: the website uses the .htaccess file for this, but that file doesn't work locally with 'jekyll serve' -->
-<html lang="en-US">
-  <head>
-    <meta charset="UTF-8">
-    <meta http-equiv="refresh" content="0;url=./latest/">
-    <title>Page Redirection</title>
-  </head>
-  <body>
-    If you are not redirected automatically, click <a href='./latest'>here</a>
-  </body>
-</html>


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