# 369 Advertising: static site (live) for https://369advertisingllc.com
Options -Indexes
DirectoryIndex index.html
ErrorDocument 404 /404.html

# Correct types for modern assets
AddType image/webp .webp
AddType font/woff .woff
AddType font/woff2 .woff2
AddType application/javascript .js
AddType text/plain .txt

# Uncomment once SSL is active on the domain to force https
# <IfModule mod_rewrite.c>
#   RewriteEngine On
#   RewriteCond %{HTTPS} off
#   RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# </IfModule>

<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html text/css text/plain application/javascript application/json application/xml image/svg+xml
</IfModule>

<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType text/html "access plus 0 seconds"
  ExpiresByType text/plain "access plus 0 seconds"
  ExpiresByType text/css "access plus 1 year"
  ExpiresByType application/javascript "access plus 1 year"
  ExpiresByType image/webp "access plus 1 month"
  ExpiresByType image/x-icon "access plus 1 month"
  ExpiresByType font/woff "access plus 1 year"
</IfModule>
