fobossalmeron/fobossalmeron.github.io/master/_site/.htaccess - Htaccess File

fobossalmeron/fobossalmeron.github.io/master/_site/.htaccess

RewriteCond %{HTTP_HOST} !^rodrigosalmeron.mx$ [NC]
RewriteCond %{HTTP_HOST} !^mail.rodrigosalmeron.mx$ [NC]
RewriteRule ^(.*)$ http://rodrigosalmeron.mx/$1 [L,R=301]

RedirectMatch 301 ^/portafolio/?$ /

ErrorDocument 404 /404/

# 3 WEEKS
<FilesMatch ".(jpg|svg|png|ico)$">
Header set Cache-Control "max-age=1814400, public"
</FilesMatch>

# 1 WEEK
<FilesMatch ".(css|js)$">
Header set Cache-Control "max-age=604800, proxy-revalidate"
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache