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


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

Branch: refs/heads/asf-site
Commit: 6d6084d8ed5449103dbafdb9f28a4d919f0b47c2
Parents: c2fccf6
Author: Nikita Timofeev <[email protected]>
Authored: Fri Jul 13 12:09:29 2018 +0300
Committer: Nikita Timofeev <[email protected]>
Committed: Fri Jul 13 12:09:29 2018 +0300

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


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

Reply via email to