Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
4e07acd6
Commit
4e07acd6
authored
Jan 23, 2017
by
Shakarim Sapa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Проверяем другую библиотеку jquery
parent
45321ffe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
42 deletions
+27
-42
frontend/web/.htaccess
frontend/web/.htaccess
+27
-42
No files found.
frontend/web/.htaccess
View file @
4e07acd6
#RewriteEngine On
#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>
RewriteEngine
On
RewriteBase
/
Options
+FollowSymLinks
IndexIgnore
*/*
RewriteEngine
on
RewriteCond
%{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule
^(.*)$ http://%1/$1 [R=301,L]
RewriteCond
%{REQUEST_URI} !^/(web)
RewriteRule
^assets/(.*)$ /web/assets/$1 [L]
RewriteRule
^css/(.*)$ web/css/$1 [L]
RewriteRule
^js/(.*)$ web/js/$1 [L]
RewriteRule
^images/(.*)$ web/images/$1 [L]
RewriteRule
(.*) /web/$1
RewriteCond
%{HTTPS}
off
RewriteRule
(.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
RewriteCond
%{REQUEST_FILENAME} !-f
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
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment