hajime/public/assets/.htaccess

30 lines
654 B
ApacheConf
Raw Normal View History

2023-08-11 22:16:32 +00:00
AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType font/woff .woff
<FilesMatch "\.(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
<FilesMatch "global.css">
Header set Cache-Control "max-age=0, must-revalidate"
</FilesMatch>
Options -Indexes
RewriteEngine On
#
#RewriteCond %{HTTP_REFERER} !^$
#RewriteCond %{HTTP_REFERER} !^http://(.+\.)?flashii\.net [NC]
#RewriteRule .*\.(jpe?g|gif|bmp|png|swf)$ http://i.imgur.com/Bv0MKtu.gif [L]
#
ErrorDocument 403 "403"
ErrorDocument 404 "404"
ErrorDocument 500 "500"
ErrorDocument 503 "503"