Apache HTTPD tuning for Russian

[Ache советует Apache]
Нарисовал Тёма Лебедев.

I run Apache HTTPD on this site, you can check its status to see its work in progress.

To specify character set for your KOI8-R documents you can add

"text/html; charset=koi8-r"    html8

lines to your mime.types, then the server will put a proper Content-Type field for all your KOI8-R documents ended with .html8. Also, in this example the server will put a proper Content-Type field for all your MS-Windows documents ended with .htmlw.

As an alternative, you can add

AddType "text/html; charset=koi8-r" .html8

lines to your global srm.conf or local .htaccess with same effect.

The server is bound to use charset= parameter; if document character set is not listed in Accept-Charset, the server should respond with the 406 (none acceptable) status code.

My Apache patches section

Apache Russification Resources

Also IMHO on-the-fly character set conversion is unnecessary for Russian language (KOI8-R must be only one Net character set as already happens with E-mail and News), I put here some references for it too:

Return to Main Page