FpereraMaia/blog-do-perera/master/_site/.htaccess - Htaccess File

FpereraMaia/blog-do-perera/master/_site/.htaccess

AddHandler php56-script .php
suPHP_ConfigPath /home/felipequadros1/

<IfModule mod_headers.c>
# Set XSS Protection header
Header set X-XSS-Protection "1; mode=block"
</IfModule>

# Compressão gzip

<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE "application/atom+xml" 
"application/javascript" 
"application/json" 
"application/ld+json" 
"application/manifest+json" 
"application/rdf+xml" 
"application/rss+xml" 
"application/schema+json" 
"application/vnd.geo+json" 
"application/vnd.ms-fontobject" 
"application/x-font-ttf" 
"application/x-javascript" 
"application/x-web-app-manifest+json" 
"application/xhtml+xml" 
"application/xml" 
"font/eot" 
"font/opentype" 
"image/bmp" 
"image/svg+xml" 
"image/vnd.microsoft.icon" 
"image/x-icon" 
"text/cache-manifest" 
"text/css" 
"text/html" 
"text/javascript" 
"text/plain" 
"text/vcard" 
"text/vnd.rim.location.xloc" 
"text/vtt" 
"text/x-component" 
"text/x-cross-domain-policy" 
"text/xml"

</IfModule>

<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# HTML
ExpiresByType text/html "access plus 2 days"
# CSS
ExpiresByType text/css "access plus 1 month"
# JS
ExpiresByType text/javascript "access plus 1 month"
</IfModule>

Header unset ETag
FileETag None

On Github License

Files

Download PDF of Htaccess file
DEFLATE

Comments

Apache