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

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new fc79d76  Updates production by Jenkins
fc79d76 is described below

commit fc79d76980b001e284286956906b1300eaa27992
Author: jenkins <bui...@apache.org>
AuthorDate: Wed Sep 12 14:42:22 2018 +0000

    Updates production by Jenkins
---
 content/.htaccess | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/content/.htaccess b/content/.htaccess
index 1be2f2e..098a831 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -2,8 +2,9 @@
 DirectoryIndex index.html
 
 RewriteEngine On
-RewriteCond %{HTTPS} !=on
-RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
+RewriteCond %{HTTPS} off
+RewriteCond %{REQUEST_URI} !^/dtds/? [NC]
+RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
 
 RedirectMatch \/docs\/version\-notes\-25([0-9]{1,2})+\.html   
https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.$1
 RedirectMatch \/docs\/version\-notes\-23([0-9]{1,2})+\.html   
https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.3.$1

Reply via email to