You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2020/04/28 16:30:33 UTC

[jena-site] 01/02: http to https

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

andy pushed a commit to branch inference-fixes
in repository https://gitbox.apache.org/repos/asf/jena-site.git

commit 27fad0137d6e10f32953d587087fa60552ccd781
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Tue Apr 28 17:29:49 2020 +0100

    http to https
---
 static/.htaccess | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/static/.htaccess b/static/.htaccess
index cf075b8..9ead372 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -7,3 +7,8 @@ AddType  application/owl+xml     .owl
 
 AddType  text/trig               .trig
 AddType  application/n-quads     .nq
+
+RewriteEngine on
+# Switch http to https
+RewriteCond     %{HTTPS} !=on
+RewriteRule     ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
\ No newline at end of file