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
699d8950
Commit
699d8950
authored
Jan 23, 2017
by
Shakarim Sapa
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
a7c81b2f
36151530
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
frontend/web/.htaccess
frontend/web/.htaccess
+12
-8
No files found.
frontend/web/.htaccess
View file @
699d8950
RewriteEngine
On
RewriteBase
/
RewriteCond
%{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule
^(.*)$ http://%1/$1 [R=301,L]
RewriteCond
%{HTTP_HOST} ^www.task-on\.com$ [NC]
RewriteRule
^(.*)$ http://task-on.com/$1 [R=301,L]
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
RewriteCond
%{REQUEST_URI} ^(.+)/$
RewriteRule
^(.+)/$ https://task-on.com/$1 [R=301,L]
Re
writeRule
. index.php
Re
direct
301 /portfolio/appl /portfolio
RewriteCond
%{REQUEST_
URI} /index.php
RewriteCond
%{
QUERY_STRING} ^\z
RewriteRule
^(.*)$ https://task-on.com/? [R=301,L]
RewriteCond
%{REQUEST_
FILENAME} !-f
RewriteCond
%{
REQUEST_FILENAME} !-d
RewriteRule
. index.php
<
IfModule
mod_expires.c
>
<
FilesMatch
\.(gif|png|jpg|jpeg|ogg|mp4|mkv|flv|swf|wmv|asf|asx|wma|wax|wmx|wm)$
>
...
...
@@ -29,4 +33,4 @@ RewriteRule ^(.*)$ https://task-on.com/? [R=301,L]
</
FilesMatch
>
ExpiresByType
text/css "access plus 1 year"
ExpiresByType
application/javascript "access plus 1 year"
</
IfModule
>
</
IfModule
>
\ No newline at end of file
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