Options -Indexes
ErrorDocument 404 /404.php
<IfModule mod_php5.c>
php_flag allow_call_time_pass_reference 1
php_flag session.use_trans_sid off
#php_value display_errors 1
#php_value mbstring.func_overload 2
#php_value mbstring.internal_encoding UTF-8
</IfModule>
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_FILENAME} [\xC2-\xDF][\x80-\xBF] [OR]
RewriteCond %{REQUEST_FILENAME} \xE0[\xA0-\xBF][\x80-\xBF] [OR]
RewriteCond %{REQUEST_FILENAME} [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2} [OR]
RewriteCond %{REQUEST_FILENAME} \xED[\x80-\x9F][\x80-\xBF] [OR]
RewriteCond %{REQUEST_FILENAME} \xF0[\x90-\xBF][\x80-\xBF]{2} [OR]
RewriteCond %{REQUEST_FILENAME} [\xF1-\xF3][\x80-\xBF]{3} [OR]
RewriteCond %{REQUEST_FILENAME} \xF4[\x80-\x8F][\x80-\xBF]{2}
RewriteCond %{REQUEST_FILENAME} !/bitrix/virtual_file_system.php$
RewriteRule ^(.*)$ /bitrix/virtual_file_system.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/jpeg "access plus 3 day"
ExpiresByType image/gif "access plus 3 day"
ExpiresByType image/png "access plus 3 day"
ExpiresByType text/css "access plus 3 day"
ExpiresByType application/javascript "access plus 3 day"
</IfModule>
<?if (isset($_REQUEST['load']) && $_REQUEST['load'] == 'Y') {
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
} else {
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Каталог");
}
CModule::IncludeModule('bitlate.proshop');
$templateOptions = BitlateProUtils::initTemplateOptions();
$FILTER_VIEW_MODE = $templateOptions['filter_type'];?>
<?require($_SERVER["DOCUMENT_ROOT"] . SITE_TEMPLATE_PATH . "/include/" . SITE_ID ."/catalog.php");?>
<?if (isset($_REQUEST['load']) && $_REQUEST['load'] == 'Y') {
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_after.php");
} else {
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");
}?>
<?php
$arUrlRewrite=array (
1 =>
array (
'CONDITION' => '#^/online/([\\.\\-0-9a-zA-Z]+)(/?)([^/]*)#',
'RULE' => 'alias=$1',
'ID' => NULL,
'PATH' => '/desktop_app/router.php',
'SORT' => 100,
),
3 =>
array (
'CONDITION' => '#^\\/?\\/mobileapp/jn\\/(.*)\\/.*#',
'RULE' => 'componentName=$1',
'ID' => NULL,
'PATH' => '/bitrix/services/mobileapp/jn.php',
'SORT' => 100,
),
5 =>
array (
'CONDITION' => '#^/bitrix/services/ymarket/#',
'RULE' => '',
'ID' => '',
'PATH' => '/bitrix/services/ymarket/index.php',
'SORT' => 100,
),
2 =>
array (
'CONDITION' => '#^/online/(/?)([^/]*)#',
'RULE' => '',
'ID' => NULL,
'PATH' => '/desktop_app/router.php',
'SORT' => 100,
),
0 =>
array (
'CONDITION' => '#^/stssync/calendar/#',
'RULE' => '',
'ID' => 'bitrix:stssync.server',
'PATH' => '/bitrix/services/stssync/calendar/index.php',
'SORT' => 100,
),
6 =>
array (
'CONDITION' => '#^/company/services/#',
'RULE' => '',
'ID' => 'bitrix:news',
'PATH' => '/company/services/index.php',
'SORT' => 100,
),
7 =>
array (
'CONDITION' => '#^/personal/profile/#',
'RULE' => '',
'ID' => 'bitrix:sale.personal.profile',
'PATH' => '/personal/profile/index.php',
'SORT' => 100,
),
8 =>
array (
'CONDITION' => '#^/company/actions/#',
'RULE' => '',
'ID' => 'bitrix:news',
'PATH' => '/company/actions/index.php',
'SORT' => 100,
),
9 =>
array (
'CONDITION' => '#^/personal/order/#',
'RULE' => '',
'ID' => 'bitrix:sale.personal.order',
'PATH' => '/personal/order/index.php',
'SORT' => 100,
),
10 =>
array (
'CONDITION' => '#^/company/brands/#',
'RULE' => '',
'ID' => 'bitrix:news',
'PATH' => '/company/brands/index.php',
'SORT' => 100,
),
11 =>
array (
'CONDITION' => '#^/company/shops/#',
'RULE' => '',
'ID' => 'bitrix:catalog.store',
'PATH' => '/company/shops/index.php',
'SORT' => 100,
),
12 =>
array (
'CONDITION' => '#^/company/news/#',
'RULE' => '',
'ID' => 'bitrix:news',
'PATH' => '/company/news/index.php',
'SORT' => 100,
),
13 =>
array (
'CONDITION' => '#^/catalog/.*#',
'RULE' => '',
'ID' => '',
'PATH' => '/catalog/index.php',
'SORT' => 100,
),
14 =>
array (
'CONDITION' => '#^/personal/*#',
'RULE' => '',
'ID' => 'bitrix:sale.personal.section',
'PATH' => '/personal/index.php',
'SORT' => 100,
),
4 =>
array (
'CONDITION' => '#^/rest/#',
'RULE' => '',
'ID' => NULL,
'PATH' => '/bitrix/services/rest/index.php',
'SORT' => 100,
),
);