Commit 4e07acd6 authored by Shakarim Sapa's avatar Shakarim Sapa

- Проверяем другую библиотеку jquery

parent 45321ffe
#RewriteEngine On RewriteEngine On
#RewriteBase / RewriteBase /
#
#RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
#RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
#
#RewriteCond %{HTTPS} off
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
#
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#
#RewriteRule . index.php
#
#RewriteCond %{REQUEST_URI} /index.php
#RewriteCond %{QUERY_STRING} ^\z
#RewriteRule ^(.*)$ https://task-on.com/? [R=301,L]
#
#<IfModule mod_expires.c>
# <FilesMatch \.(gif|png|jpg|jpeg|ogg|mp4|mkv|flv|swf|wmv|asf|asx|wma|wax|wmx|wm)$>
# ExpiresDefault "access plus 1 year"
# </FilesMatch>
# ExpiresActive on
# ExpiresByType image/jpeg "access plus 7 day"
# ExpiresByType image/gif "access plus 7 day"
# ExpiresByType image/png "access plus 7 day"
# <FilesMatch \.(css|js)$>
# ExpiresDefault "access plus 1 year"
# </FilesMatch>
# ExpiresByType text/css "access plus 1 year"
# ExpiresByType application/javascript "access plus 1 year"
#</IfModule>
Options +FollowSymLinks RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
IndexIgnore */* RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(web) RewriteCond %{HTTPS} off
RewriteRule ^assets/(.*)$ /web/assets/$1 [L] RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
RewriteRule ^css/(.*)$ web/css/$1 [L]
RewriteRule ^js/(.*)$ web/js/$1 [L]
RewriteRule ^images/(.*)$ web/images/$1 [L]
RewriteRule (.*) /web/$1
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /web/index.php
\ No newline at end of file RewriteRule . index.php
RewriteCond %{REQUEST_URI} /index.php
RewriteCond %{QUERY_STRING} ^\z
RewriteRule ^(.*)$ https://task-on.com/? [R=301,L]
<IfModule mod_expires.c>
<FilesMatch \.(gif|png|jpg|jpeg|ogg|mp4|mkv|flv|swf|wmv|asf|asx|wma|wax|wmx|wm)$>
ExpiresDefault "access plus 1 year"
</FilesMatch>
ExpiresActive on
ExpiresByType image/jpeg "access plus 7 day"
ExpiresByType image/gif "access plus 7 day"
ExpiresByType image/png "access plus 7 day"
<FilesMatch \.(css|js)$>
ExpiresDefault "access plus 1 year"
</FilesMatch>
ExpiresByType text/css "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
</IfModule>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment