-
Notifications
You must be signed in to change notification settings - Fork 1
/
.htaccess
31 lines (26 loc) · 1 KB
/
.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
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.chillibits.com$ [NC]
RewriteRule ^(.*)$ https://www.chillibits.com/$1 [L,R=301]
# Redirects for Color Converter
RedirectMatch ^/color-converter$ /colorconverter/
RedirectMatch ^/colourconverter$ /colorconverter/
RedirectMatch ^/colour-converter$ /colorconverter/
# Redirects for PMApp
RedirectMatch ^/pm-app$ /pmapp/
RedirectMatch ^/particulate-matter-app$ /pmapp/
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/shtml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
</IfModule>
# START - Disable server signature #
ServerSignature Off
# END - Disable server signature #
AddCharset UTF-8 .html