Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
4de472cf
Commit
4de472cf
authored
3 years ago
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify htaccess
parent
77509e35
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
.htaccess
public/.htaccess
+19
-19
No files found.
public/.htaccess
View file @
4de472cf
<
IfModule
mod_rewrite.c
>
Options
-MultiViews
RewriteEngine
On
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteRule
^(.*)$ index.php [QSA,L]
</
IfModule
>
<
IfModule
!mod_rewrite.c
>
<
IfModule
mod_alias.c
>
RedirectMatch
302 ^/$ /index.php/
</
IfModule
>
</
IfModule
>
SetOutputFilter
DEFLATE
SetOutputFilter
DEFLATE
AddOutputFilterByType
DEFLATE "application/atom+xml" "application/javascript" "application/json" "application/ld+json" "application/manifest+json" "application/rdf+xml" "application/rss+xml" "application/schema+json" "application/vnd.geo+json" "application/vnd.ms-fontobject" "application/x-font-ttf" "application/x-javascript" "application/x-web-app-manifest+json" "application/xhtml+xml" "application/xml" "font/eot" "font/opentype" "image/bmp" "image/svg+xml" "image/vnd.microsoft.icon" "image/x-icon" "text/cache-manifest" "text/css" "text/html" "text/javascript" "text/plain" "text/vcard" "text/vnd.rim.location.xloc" "text/vtt" "text/x-component" "text/x-cross-domain-policy" "text/xml" "application/x-font-woff" "application/x-font-woff2" "font/woff" "font/woff2"
AddOutputFilterByType
DEFLATE "application/atom+xml" "application/javascript" "application/json" "application/ld+json" "application/manifest+json" "application/rdf+xml" "application/rss+xml" "application/schema+json" "application/vnd.geo+json" "application/vnd.ms-fontobject" "application/x-font-ttf" "application/x-javascript" "application/x-web-app-manifest+json" "application/xhtml+xml" "application/xml" "font/eot" "font/opentype" "image/bmp" "image/svg+xml" "image/vnd.microsoft.icon" "image/x-icon" "text/cache-manifest" "text/css" "text/html" "text/javascript" "text/plain" "text/vcard" "text/vnd.rim.location.xloc" "text/vtt" "text/x-component" "text/x-cross-domain-policy" "text/xml" "application/x-font-woff" "application/x-font-woff2" "font/woff" "font/woff2"
Header
always
set
Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
Header
always
set
Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
Header
set
X-Content-Type-Options "nosniff"
Header
set
X-Content-Type-Options "nosniff"
Header
set
X-Content-Security-Policy "allow 'self';"
Header
set
X-Content-Security-Policy "allow 'self';"
...
@@ -23,12 +10,25 @@ Header set X-XSS-Protection "1; mode=block"
...
@@ -23,12 +10,25 @@ Header set X-XSS-Protection "1; mode=block"
Header
set
X-Frame-Options SAMEORIGIN
Header
set
X-Frame-Options SAMEORIGIN
Header
always edit Set-Cookie (.*) "$1; HTTPOnly; Secure"
Header
always edit Set-Cookie (.*) "$1; HTTPOnly; Secure"
AddType
image/x-icon .ico
AddType
image/x-icon .ico
AddType
application/x-web-app-manifest+json .webapp
AddType
application/x-web-app-manifest+json .webapp
AddType
font/ttf .ttf
AddType
font/ttf .ttf
AddType
font/otf .otf
AddType
font/otf .otf
AddType
font/woff .woff
AddType
font/woff .woff
AddType
font/woff2 .woff2
AddType
font/woff2 .woff2
<
IfModule
mod_rewrite.c
>
Options
-MultiViews
RewriteEngine
On
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteRule
^(.*)$ index.php [QSA,L]
</
IfModule
>
<
IfModule
!mod_rewrite.c
>
<
IfModule
mod_alias.c
>
RedirectMatch
302 ^/$ /index.php/
</
IfModule
>
</
IfModule
>
<
IfModule
mod_expires.c
>
<
IfModule
mod_expires.c
>
ExpiresActive
On
ExpiresActive
On
...
...
This diff is collapsed.
Click to expand it.
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