diff options
author | Izzy Galvez <i@igalvez.net> | 2015-11-11 22:09:13 +0300 |
---|---|---|
committer | Izzy Galvez <i@igalvez.net> | 2015-11-11 22:09:13 +0300 |
commit | 86b2bd5bfd0aafae507eb2e0d516467cf84e16b4 (patch) | |
tree | f116a1d56600c00b2217d0a0c72e85c4f1806eb0 | |
parent | f4c8a3584bdee8b823aa882a83df3aec0d248247 (diff) |
serve HTML as plain text
-rwxr-xr-x | .htaccess | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -14,6 +14,11 @@ Options +Includes AddType text/html .shtml AddOutputFilter INCLUDES .shtml +# Serve html as plain text +<FilesMatch "(?i)\.(htm|html)$"> + ForceType text/plain +</FilesMatch> + AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript application/json IndexOptions Charset=UTF-8 |