Serve svg when available
This commit is contained in:
parent
52b16fb421
commit
6d4122c5b9
8
htaccess
8
htaccess
@ -2,4 +2,12 @@
|
|||||||
layout: none
|
layout: none
|
||||||
permalink: .htaccess
|
permalink: .htaccess
|
||||||
---
|
---
|
||||||
|
# Serve .html files without extensions
|
||||||
Options +MultiViews
|
Options +MultiViews
|
||||||
|
# If a SVG and a PNG exists the prefer the SVG
|
||||||
|
AddType image/svg+xml;qs=0.9 svg
|
||||||
|
AddType image/png;qs=0.8 png
|
||||||
|
# Work around Apache bug from 2002
|
||||||
|
# https://bz.apache.org/bugzilla/show_bug.cgi?id=53595
|
||||||
|
# https://kevinlocke.name/bits/2012/07/20/serving-xhtml-with-apache-multiviews/
|
||||||
|
Header always edit "Content-Type" ";\s*qs=[0-9]*(?:\.[0-9]+)?\s*" ""
|
||||||
|
Loading…
Reference in New Issue
Block a user