Add contact form, accessibility features, I→we changes
This commit is contained in:
30
.htaccess
Normal file
30
.htaccess
Normal file
@@ -0,0 +1,30 @@
|
||||
# Atomaste Static Site
|
||||
Options -Indexes
|
||||
|
||||
# Redirect old broken URLs to homepage
|
||||
RedirectMatch 301 ^/custom-telescope-mirror-support.*$ /
|
||||
RedirectMatch 301 ^/product.*$ /
|
||||
RedirectMatch 301 ^/shop.*$ /
|
||||
|
||||
# Redirect to index.html as default
|
||||
DirectoryIndex index.html
|
||||
|
||||
# Enable GZIP compression
|
||||
<IfModule mod_deflate.c>
|
||||
AddOutputFilterByType DEFLATE text/html text/css application/javascript image/svg+xml
|
||||
</IfModule>
|
||||
|
||||
# Cache static assets
|
||||
<IfModule mod_expires.c>
|
||||
ExpiresActive On
|
||||
ExpiresByType image/png "access plus 1 month"
|
||||
ExpiresByType image/svg+xml "access plus 1 month"
|
||||
ExpiresByType text/css "access plus 1 week"
|
||||
</IfModule>
|
||||
|
||||
# Security Headers
|
||||
<IfModule mod_headers.c>
|
||||
Header set X-Content-Type-Options "nosniff"
|
||||
Header set X-Frame-Options "SAMEORIGIN"
|
||||
Header set Referrer-Policy "strict-origin-when-cross-origin"
|
||||
</IfModule>
|
||||
Reference in New Issue
Block a user