On Wed, 7 Nov 2007, Haines Brown wrote:
Quote:
I see that a document served as XML does not have any meta http-equiv
statements read. |
<meta http-equiv> is completely irrelevant!
What matters is only the HTTP header and the content-type defined
therein. You can see the HTTP header with
http://web-sniffer.net/
or with
lynx -head -dump
http://www.example.com/ Quote:
However, I find that the the web server will not deliver documents
named "test" or "test.x.html", reporting URL not found. |
Which server software do you have? Normally, there should be
no problem naming a file "test" or "test.x.html". Some Windows
systems make trouble with filenames that start with a dot
like ".htaccess".
Of course, you need to define the proper type with your server.
In Apache, you could write into your .htaccess file:
DefaultType application/xhtml+xml
AddType text/html html
<Files *.x.html>
AddType application/xhtml+xml html
</Files>
AddDefaultCharset utf-8
AddCharset utf-8 html
which results in the following types:
test application/xhtml+xml;charset=utf-8
test.x.html application/xhtml+xml;charset=utf-8
test.html text/html;charset=utf-8
/* This is an example - I don't say you should do so. */
--
Bugs in Internet Explorer 7
http://www.unics.uni-hannover.de/nhtcapri/ie7-bugs