-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
.htaccess
35 lines (31 loc) · 951 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<IfModule mod_php5.c>
php_value upload_max_filesize 513M
php_value post_max_size 513M
php_value memory_limit 512M
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
</IfModule>
<IfModule mod_php7.c>
php_value upload_max_filesize 513M
php_value post_max_size 513M
php_value memory_limit 512M
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
</IfModule>
<ifModule mod_headers.c>
Header set Connection keep-alive
# Add security and privacy related headers
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
Header set X-Robots-Tag "none"
Header set X-Download-Options "noopen"
Header set X-Permitted-Cross-Domain-Policies "none"
Header set X-Frame-Options "SAMEORIGIN"
<IfModule mod_env.c>
SetEnv modHeadersAvailable true
</IfModule>
</ifModule>
AddDefaultCharset utf-8
Options -Indexes