You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by nt...@apache.org on 2018/01/20 12:36:18 UTC

cayenne-website git commit: Enable http -> https redirect Update index page

Repository: cayenne-website
Updated Branches:
  refs/heads/master 852e189fa -> 826bdf7f4


Enable http -> https redirect
Update index page


Project: http://git-wip-us.apache.org/repos/asf/cayenne-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne-website/commit/826bdf7f
Tree: http://git-wip-us.apache.org/repos/asf/cayenne-website/tree/826bdf7f
Diff: http://git-wip-us.apache.org/repos/asf/cayenne-website/diff/826bdf7f

Branch: refs/heads/master
Commit: 826bdf7f46dff071538d4185c89f21832480211e
Parents: 852e189
Author: Nikita Timofeev <st...@gmail.com>
Authored: Sat Jan 20 15:36:13 2018 +0300
Committer: Nikita Timofeev <st...@gmail.com>
Committed: Sat Jan 20 15:36:13 2018 +0300

----------------------------------------------------------------------
 src/main/site/content/_index.md | 6 +++---
 src/main/site/static/.htaccess  | 6 ++++++
 2 files changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/826bdf7f/src/main/site/content/_index.md
----------------------------------------------------------------------
diff --git a/src/main/site/content/_index.md b/src/main/site/content/_index.md
index d10cd22..4935710 100644
--- a/src/main/site/content/_index.md
+++ b/src/main/site/content/_index.md
@@ -7,9 +7,9 @@
         <div class="col-md-6  text-center">
             <img class="img-fluid  mb-2" src="img/cayenne_illustr.png" alt="Cayenne Illustration" />
             <h1 class="display-2  font-weight-normal">
-                ORM
-                <span class="font-weight-xlight">with</span>
-                <span class="font-weight-semibold">character</span>
+				<span class="font-weight-xlight">Your</span>
+				<span class="font-weight-semibold">ORM</span>
+				superpower
             </h1>
             <p class="small  font-italic">Apache Cayenne™ is an open source Java ORM (object-to-relational mapping) framework</p>
         </div>

http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/826bdf7f/src/main/site/static/.htaccess
----------------------------------------------------------------------
diff --git a/src/main/site/static/.htaccess b/src/main/site/static/.htaccess
index 2cb97ba..5b52dff 100644
--- a/src/main/site/static/.htaccess
+++ b/src/main/site/static/.htaccess
@@ -111,4 +111,10 @@ AddOutputFilterByType DEFLATE font/opentype
 BrowserMatch ^Mozilla/4 gzip-only-text/html
 BrowserMatch ^Mozilla/4\.0[678] no-gzip
 BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
+</IfModule>
+
+<IfModule mod_rewrite.c>
+RewriteEngine On
+RewriteCond %{HTTPS} off
+RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
 </IfModule>
\ No newline at end of file