Last active
March 28, 2018 20:51
-
-
Save dermanov-ru/fe707b68326a574a2b687cc496259d37 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
# Закрыть полностью админку битрикса | |
# /bitrix/.htaccess | |
# ---------------------------------- | |
# close all | |
Order allow,deny | |
Deny from all | |
# allow urlrewrite.php иначе не работает ЧПУ на сайте | |
<FilesMatch urlrewrite.php> | |
Order allow,deny | |
allow from all | |
</FilesMatch> | |
# ---------------------- | |
# закрыть все кроме обмена с 1с | |
# bitrix/admin/.htaccess | |
# ---------------------- | |
# allow all admin | |
#Allow from all | |
#Satisfy Any | |
# allow only 1c_exchange script | |
<Files 1c_exchange.php> | |
Allow from all | |
Satisfy Any | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment