kitsune/media/.htaccess

38 строки
1.2 KiB
ApacheConf
Исходник Обычный вид История

# Neither Firefox nor Safari will draw these if they're text/xml
AddType image/svg+xml .svg
AddType application/octet-stream .exe
Update base template code/styles based on new mockups for support.mozilla.org re-design. (#3243) * Update base template style for header, body and footer based on new designs Update header for base template, move search input from header in main content instead and update search style Update header navigation links/buttons and add new icons Add padding to prevent content jumping Merge update footer for desktop only to look like mozilla.org footer to resolve conflicts. (#3230) * change footer background color to black * Applied updates to footer to match footer on mozilla.org * Update Mozilla and Firefox list headers and add language picker to footer * Remove mozilla.org at the end of the contribution link * Fix Donate utm_source param and contribute to site link Update footer links font-weight to bold * Fix header paddings * Add new optimized mozilla support SVG to use in header instead of PNG * Add underline text-decoration to header links * Add missing fonts * Change default font-family to Open Sans and use Zilla Slab for special cases. * Add hover feedback on buttons. * Fix nav list and buttons display when on smaller screens. * Fix nav list display when on smaller screens and signed in. * Make adjustments to header links wrapping. * Fix formatting and padding issue * Change #aux-nav-left to #aux-nav to not break other functionality using #aux-nav reference * Make adjustments to header. * Fix issue with header search input when search results are shown. * Make main search take up full width like mockup. * Chain focus and val calls.
2018-06-19 00:46:02 +03:00
AddType application/font-woff .woff
AddType application/font-woff2 .woff2
AddType application/vnd.ms-fontobject .eot
AddType application/octet-stream .ttf
2011-10-28 20:05:29 +04:00
AddCharset utf-8 .css .js
# Set far-future Expires headers for static media
ExpiresActive on
ExpiresDefault "access plus 1 week"
ExpiresByType text/css "access plus 1 year"
ExpiresByType text/javascript "access plus 1 year"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"
ExpiresByType image/vnd.microsoft.icon "access plus 1 month"
ExpiresByType video/webm "access plus 1 week"
ExpiresByType video/ogg "access plus 1 week"
ExpiresByType video/x-flv "access plus 1 week"
ExpiresByType application/x-shockwave-flash "access plus 1 week"
2011-08-30 02:24:50 +04:00
ExpiresByType text/plain "access plus 0 seconds"
ExpiresByType application/octet-stream "access plus 0 seconds"
FileETag MTime
2011-08-30 02:24:50 +04:00
<FilesMatch "\.txt$">
FileETag None
</FilesMatch>
<FilesMatch ".(jpeg|png|jpg|gif)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>