pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject [2/2] pdfbox-docs git commit: PDFBOX-3330: redirect http to https - further tweaks might be neccesary
Date Sun, 19 Feb 2017 08:42:18 GMT
PDFBOX-3330: redirect http to https - further tweaks might be neccesary


Project: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/commit/4c7d8d84
Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/tree/4c7d8d84
Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/diff/4c7d8d84

Branch: refs/heads/master
Commit: 4c7d8d842813f4ec2beb1630bdc276f889b7b240
Parents: 91884ea
Author: Maruan Sahyoun <sahyoun@fileaffairs.de>
Authored: Sun Feb 19 09:42:09 2017 +0100
Committer: Maruan Sahyoun <sahyoun@fileaffairs.de>
Committed: Sun Feb 19 09:42:09 2017 +0100

----------------------------------------------------------------------
 content/.htaccess | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/4c7d8d84/content/.htaccess
----------------------------------------------------------------------
diff --git a/content/.htaccess b/content/.htaccess
index bdc50ee..a21ad55 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -1,4 +1,6 @@
 RewriteEngine On
+RewriteCond %{HTTPS} off
+RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
 RewriteRule ^apidocs(/?)$ /docs/1.8.10/javadocs [R=301,L]
 RewriteRule ^commandlineutilities(/?)(.*)$ /commandline [R=301,L]
 RewriteRule ^downloads\.html$ /download.cgi


Mime
View raw message