From d74eb8429eacae87c3cb2b756d37b8c966d01791 Mon Sep 17 00:00:00 2001 From: "attila.lendvai" <attila.lendvai@gmail.com> Date: Tue, 15 Jan 2008 04:57:44 +0000 Subject: [PATCH] fix encoding darcs-hash:1c6f77a9f3ae7f65dbe0dc971e51411b0bc12995 --- .htaccess | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..8a3cdb8 --- /dev/null +++ b/.htaccess @@ -0,0 +1,17 @@ +AddDefaultCharset UTF-8 +#AddCharset UTF-8 .html .xhtml + +RewriteEngine on +RewriteBase / + +# change the content-type response header of xhtml files for IE +RewriteCond %{REQUEST_URI} .xhtml$ +RewriteCond %{HTTP_USER_AGENT} ^Mozilla/4(.*)MSIE +RewriteRule .* - [T=text/html] + +#RewriteCond %{HTTP_ACCEPT} application/xhtml+xml +#RewriteCond %{HTTP_ACCEPT} !application/xhtml+xmls*;s*q=0 +#RewriteCond %{REQUEST_URI} .html$ +#RewriteCond %{THE_REQUEST} HTTP/1.1 +#RewriteRule .* - [T=application/xhtml+xml] + -- GitLab