Htaccess File

ayamflow/patchwork/master/static/.htaccess

DEFLATE, REQUEST_FILENAME
Options +FollowSymlinks
RewriteEngine On
RewriteBase /

# Rewrite everything (except file or directory) to index.html
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.html [L]

# Video types
# AddType video/mp4 .mp4 .m4v
# AddType video/ogg .ogv
# AddType video/webm .webm

AddType application/vnd.ms-fontobject eot
AddType font/truetype ttf
AddType font/opentype otf
AddType application/x-font-woff woff

# Add GZIP compression
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
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
Exit mobile version