S�ren Kuklau wrote: > Steven wrote: > >> Hello, >> I have an XML/CSS exercise I did in a web course which was hosted >> at Freedom to Serve. Now I'm migrating to a new server at Cable and >> Wireless and I find the page isn't working anymore in Netscape 6... >> >> Here is the page at Freedom to Serve, which works in both IE and >> Netscape 6: http://www.labspace.f2s.com/qml/qml_css.xml >> >> And here is exactly the same page on Cable and Wireless which >> works in Explorer but doesn't in Netscape 6... >> http://www.web3design.nl/steven/labspace/qml/qml_css.xml >> >> Any body have an idea what could be wrong? > > > MIME type settings on the server? > > .css => text/css > .xml => application/xml (i think)
Yup. http://webtools.mozilla.org/web-sniffer/view.cgi?url=http%3A%2F%2Fwww.labspace.f2s.com%2Fqml%2Fqml_css.xml The content type is "Content-Type: text/xml" here. http://webtools.mozilla.org/web-sniffer/view.cgi?url=http%3A%2F%2Fwww.web3design.nl%2Fsteven%2Flabspace%2Fqml%2Fqml_css.xml This one sends "Content-Type: text/plain", where it shouldn't. I think you can avoid this problem using a .htaccess file, but I'm not positive about the directive needed... might be "AddType .xml text/xml".
