forked from okineadev/ddos-separ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
27 lines (24 loc) · 878 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
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.ddos-separ\.ml [NC]
RewriteRule ^(.*)$ http://ddos-separ.ml/$1 [L,R=301]
<IfModule headers_module>
Header set X-Frame-Options: "DENY"
Header set X-XSS-Protection: 1
</IfModule>
# Set browser caching
# ------------------------------------------------------------------------------
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
# End caching block