- From: Martin Duerst <duerst@it.aoyama.ac.jp>
- Date: Wed, 30 Apr 2008 14:17:34 +0900
- To: Nicolas Krebs <nicolas1.krebs3@netcourrier.com>, www-international@w3.org
At 02:46 08/04/29, Nicolas Krebs wrote: >You should be careful with a few extensions. For example, using the >ISO code for Polish, .pl, would confuse it with the extension typically >used to indicate Perl documents. >$B%5(B >(Richard Ishida, Martin D$B—S(Bst, $B%)(B FAQ: Apache MultiViews language >negotiation set up $B%5(B, section $B%)(B File naming $B%5(B, W3C, 2004, >http://www.w3.org/International/questions/qa-apache-lang-neg#naming , >2006-11-25 16:45 GMT version, >English language version >http://www.w3.org/International/questions/qa-apache-lang-neg.en#naming ) Apache does not care at all about extensions. [You might even get it to work with extensions that contain non-ASCII characters (but you have to test this really, really carefully).] So there is no problem calling your file index.nynorsk.html or whatever else you want. You just have to tweak/add an AddLanguage statement in one of the configuration files. You can also have different extensions for the same language, or for the same Mime type, or whatever, on the same installation. The most classical example is that both .html and .htm map to Content-Type: text/html What extensions you are using on your server is really only your business. Of course, it helps to have extensions that are easy to understand, and it may help if you use common extensions when moving your files to another server. >You can avoid the issue by $B%)(B put the .html extension last $B%5(B >(as wrote in the same section), thus having $B%)(B example.en.html $B%5(B >and so on (idem). Putting the HTML extension last only helps for one issue (which may be an important one), namely that applications looking at extensions (including e.g. the part of the OS or windows manager or finder or whatever that automatically assigns icons to documents) will recognize the extension only in the last place. For anything related to Apache itself, it's irrelevant. Regards, Martin. #-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University #-#-# http://www.sw.it.aoyama.ac.jp mailto:duerst@it.aoyama.ac.jp
Received on Wednesday, 30 April 2008 05:27:58 UTC