Options -Indexes
ErrorDocument 404 /404.php
<IfModule mod_php5.c>
php_flag session.use_trans_sid off
php_value display_errors 1
php_value mbstring.internal_encoding UTF-8
php_value mbstring.func_overload 2
php_value register_globals off
php_value max_input_vars 10000
</IfModule>
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
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}]
RewriteCond %{HTTP_HOST} ^www.aquamarineresort.ru$ [NC]
RewriteRule ^(.*)$ http://aquamarineresort.ru/$1 [R=301,L]
</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>
#редиректы со староой структуры сайта
Redirect 301 /rooms/169-price http://aquamarineresort.ru/rooms/preyskurant/
Redirect 301 /hotel/beach-aquamarine http://aquamarineresort.ru/leisure/beach-aquamarine/
Redirect 301 /leisure/excursion/677-peshaya-ekskursiya-po-balaklave http://aquamarineresort.ru/leisure/excursion/peshie-progulki-po-vidovym-mestam-v-okruge-sevastopolya/
Redirect 301 /leisure/excursion/671-ekskursiya-lyubimyj-sevastopol http://aquamarineresort.ru/leisure/excursion/lyubimyy-sevastopol/
Redirect 301 /leisure/excursion/673-ekskursiya-krymskaya-vojna http://aquamarineresort.ru/leisure/excursion/krymskaya-voyna/
Redirect 301 /leisure/excursion/672-ekskursiya-vtoraya-mirovaya-vojna http://aquamarineresort.ru/leisure/excursion/vtoraya-mirovaya-voyna/
Redirect 301 /leisure/excursion/674-ekskursiya-slavnyj-bakhchisaraj http://aquamarineresort.ru/leisure/excursion/slavnyy-bakhchisaray/
Redirect 301 /offers/890-paket-uslug-vip-gost http://aquamarineresort.ru/offers/paket-uslug-vip-gost/
Redirect 301 /offers/216-aktsiya-rannee-bronirovanie http://aquamarineresort.ru/offers/rannee-bronirovanie/
Redirect 301 /offers/870-aktsiya-ya-krymchanin-v-otele-kryma-akvamarin http://aquamarineresort.ru/offers/aktsiya-ya-krymchanin/
Redirect 301 /offers/485-aktsiya-plati-menshe-zhivi-dolshe http://aquamarineresort.ru/offers/plati-menshe-zhivi-dolshe/
Redirect 301 /offers/234-programma-loyalnosti http://aquamarineresort.ru/offers/programma-loyalnosti/
Redirect 301 /offers/652-vse-vklucheno http://aquamarineresort.ru/offers/vse-vklyucheno/
Redirect 301 /restaurant/lobby-bar http://aquamarineresort.ru/restaurant/lobby-lounge/
Redirect 301 /restaurant/boarding http://aquamarineresort.ru/restaurant/restorany/abordazh/
Redirect 301 /restaurant/lavanda http://aquamarineresort.ru/restaurant/restorany/lavanda/
Redirect 301 /restaurant/temari http://aquamarineresort.ru/restaurant/restorany/temari/
Redirect 301 /restaurant/madera http://aquamarineresort.ru/restaurant/restorany/madera/
Redirect 301 /hotel/detskaya http://aquamarineresort.ru/detyam/
Redirect 301 /contact/ http://aquamarineresort.ru/hotel/contact
RedirectMatch 301 /aquazona/(.*) http://aquamarineresort.ru/spa/bannyy-kompleks/
<?
$arUrlRewrite = array(
array(
"CONDITION" => "#^/hotel/gallery/event/([a-zA-Z0-9\\.\\-_]+)/?.*#",
"RULE" => "SECTION_CODE=\$1",
"ID" => "",
"PATH" => "/hotel/gallery/galery_insde.php",
"SORT" => "100",
),
array(
"CONDITION" => "#^/meropriyatiya/album/([a-zA-Z0-9\\.\\-_]+)/?.*#",
"RULE" => "SECTION_CODE=\$1",
"ID" => "",
"PATH" => "/meropriyatiya/galery_insde.php",
"SORT" => "100",
),
array(
"CONDITION" => "#^/afisha/([a-zA-Z0-9\\.\\-_]+)/?.*#",
"RULE" => "ELEMENT_CODE=\$1",
"ID" => "",
"PATH" => "/afisha/detail.php",
"SORT" => "100",
),
array(
"CONDITION" => "#^/restaurant/restorany/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/restaurant/restorany/index.php",
"SORT" => "100",
),
array(
"CONDITION" => "#^/medtsentr/programmy/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/spa/spa-dni/index.php",
"SORT" => "100",
),
array(
"CONDITION" => "#^/medtsentr/programmy/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/medtsentr/programmy/index.php",
),
array(
"CONDITION" => "#^/leisure/excursion/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/leisure/excursion/index.php",
"SORT" => "100",
),
array(
"CONDITION" => "#^/leisure/yachting/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/leisure/yachting/index.php",
"SORT" => "100",
),
array(
"CONDITION" => "#^/spa/spa-ritualy/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/spa/spa-ritualy/index.php",
"SORT" => "100",
),
array(
"CONDITION" => "#^/hotel/stati/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/hotel/stati/index.php",
"SORT" => "100",
),
array(
"CONDITION" => "#^/aparts/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/rooms/aparts/index.php",
"SORT" => "100",
),
array(
"CONDITION" => "#^/aparts/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/aparts/index.php",
"SORT" => "100",
),
array(
"CONDITION" => "#^/offers/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/offers/index.php",
"SORT" => "100",
),
array(
"CONDITION" => "#^/rooms/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/rooms/index.php",
"SORT" => "100",
),
);
?>
npm install gulpjs/gulp.git#4.0 --save-dev
npm ERR! code 1
npm ERR! Command failed: git checkout 4.0
npm ERR! error: pathspec '4.0' did not match any file(s) known to git.
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Anriko\AppData\Roaming\npm-cache\_logs\2020-12-12T11_59_11_428Z-debug.log
C:\Users\Anriko\Desktop\rarus-test-master\rarus-test-master>gulp development
fs.js:52
} = primordials;
^
ReferenceError: primordials is not defined
at fs.js:52:5
at req_ (C:\Users\Anriko\Desktop\rarus-test-master\rarus-test-master\node_modules\natives\index.js:143:24)
at Object.req [as require] (C:\Users\Anriko\Desktop\rarus-test-master\rarus-test-master\node_modules\natives\index.js:55:10)
at Object.<anonymous> (C:\Users\Anriko\Desktop\rarus-test-master\rarus-test-master\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:1:37)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:997:19)
at require (node:internal/modules/cjs/helpers:92:18)
C:\Users\Anriko\Desktop\rarus-test-master\rarus-test-master>npm install gulp --save-dev
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN @stylelint/postcss-css-in-js@0.37.2 requires a peer of postcss@>=7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @stylelint/postcss-markdown@0.36.1 requires a peer of postcss@>=7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-airbnb@18.2.0 requires a peer of eslint-plugin-jsx-a11y@^6.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-airbnb@18.2.0 requires a peer of eslint-plugin-react@^7.20.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-airbnb@18.2.0 requires a peer of eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0 but none is installed. You must install peer dependencies yourself.
npm WARN vue-axios@3.2.0 requires a peer of vue@>= 3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN vue-loader@15.9.3 requires a peer of css-loader@* but none is installed. You must install peer dependencies yourself.
npm WARN rarus@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\gulp-watch\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\watchpack-chokidar2\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ gulp@3.9.1
updated 1 package and audited 2205 packages in 31.427s
109 packages are looking for funding
run `npm fund` for details
found 9 vulnerabilities (3 low, 6 high)
run `npm audit fix` to fix them, or `npm audit` for details
npm ERR! code 1
npm ERR! Command failed: git checkout 4.0
npm ERR! error: pathspec '4.0' did not match any file(s) known to git.
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Anriko\AppData\Roaming\npm-cache\_logs\2020-12-12T12_12_52_973Z-debug.log