site-deploy/_site/tmp/var/www/chaospott.de/engine/default.htaccess

17 lines
392 B
Plaintext
Raw Normal View History

2014-10-26 18:35:05 +00:00
Options -MultiViews
AddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript text/xml text/rss text/rss+xml
RewriteEngine On
RewriteRule ^([^\.]*)$ - [T=text/html]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html [QSA,L]
ErrorDocument 404 /404.html
ErrorDocument 500 /500.html