Forked from bxtimur/Редирект сайта на https, кроме 1 файла
Created
July 24, 2018 21:29
-
-
Save ASDAFF/588e0c8683ed82f951312fe88413e93b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # все на https, кроме файла обмена с 1С (не работает он по https) | |
| RewriteCond %{HTTP:X-HTTPS} !1 | |
| RewriteCond %{REQUEST_URI} !^/bitrix/admin/1c_exchange\.php$ [NC] | |
| RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment