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/07/13 09:03:30 UTC

cayenne-website git commit: disable https rewrite for XSD schemas folder

Repository: cayenne-website
Updated Branches:
  refs/heads/asf-site aa9186c56 -> c2fccf661


disable https rewrite for XSD schemas folder


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

Branch: refs/heads/asf-site
Commit: c2fccf661d2dbf8b5da822d35d7175edeb7c339f
Parents: aa9186c
Author: Nikita Timofeev <st...@gmail.com>
Authored: Fri Jul 13 12:03:26 2018 +0300
Committer: Nikita Timofeev <st...@gmail.com>
Committed: Fri Jul 13 12:03:26 2018 +0300

----------------------------------------------------------------------
 .htaccess | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/c2fccf66/.htaccess
----------------------------------------------------------------------
diff --git a/.htaccess b/.htaccess
index 36f7960..ba487eb 100644
--- a/.htaccess
+++ b/.htaccess
@@ -108,7 +108,7 @@ AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
 AddOutputFilterByType DEFLATE font/ttf
 AddOutputFilterByType DEFLATE font/otf
 AddOutputFilterByType DEFLATE font/opentype
-# For Olders Browsers Which Can't Handle Compression
+# For Older Browsers Which Can't Handle Compression
 BrowserMatch ^Mozilla/4 gzip-only-text/html
 BrowserMatch ^Mozilla/4\.0[678] no-gzip
 BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
@@ -117,5 +117,6 @@ BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
 <IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteCond %{HTTPS} off
+RewriteRule ^schema/.*$ - [PT]
 RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
 </IfModule>
\ No newline at end of file