Repository: cayenne-website
Updated Branches:
  refs/heads/master d71775993 -> df8edfd5e


Disable HTTPS redirect 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/df8edfd5
Tree: http://git-wip-us.apache.org/repos/asf/cayenne-website/tree/df8edfd5
Diff: http://git-wip-us.apache.org/repos/asf/cayenne-website/diff/df8edfd5

Branch: refs/heads/master
Commit: df8edfd5e1bc6c55b25540d537003273cdcb8de5
Parents: d717759
Author: Nikita Timofeev <[email protected]>
Authored: Fri Jul 13 12:12:19 2018 +0300
Committer: Nikita Timofeev <[email protected]>
Committed: Fri Jul 13 12:12:19 2018 +0300

----------------------------------------------------------------------
 src/main/site/static/.htaccess | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/df8edfd5/src/main/site/static/.htaccess
----------------------------------------------------------------------
diff --git a/src/main/site/static/.htaccess b/src/main/site/static/.htaccess
index 36f7960..7f2367d 100644
--- a/src/main/site/static/.htaccess
+++ b/src/main/site/static/.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
@@ -116,6 +116,7 @@ BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
 
 <IfModule mod_rewrite.c>
 RewriteEngine On
+RewriteRule ^(schema)($|/) - [L]
 RewriteCond %{HTTPS} off
 RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
 </IfModule>
\ No newline at end of file

Reply via email to