| Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате |
| Форум программистов > Администрирование Web серверов и Web служб > Apache 2.40 |
| Автор: Wowa 5.11.2004, 11:31 |
| Apache 2.40 Кодировку по-умолчанию в .htaccess? Типа DefaultCharset |
| Автор: GoodBoy 5.11.2004, 11:47 |
| Вот это не поможет: AddDefaultCharset Description: Default character set to be added for a response without an explicit character set Syntax: AddDefaultCharset On|Off|charset Default: AddDefaultCharset Off Context: server config, virtual host, directory, .htaccess Override: FileInfo Status: Core Module: core This directive specifies the name of the character set that will be added to any response that does not have any parameter on the content type in the HTTP headers. This will override any character set specified in the body of the document via a META tag. A setting of AddDefaultCharset Off disables this functionality. AddDefaultCharset On enables Apache's internal default charset of iso-8859-1 as required by the directive. You can also specify an alternate charset to be used. For example: Example: AddDefaultCharset utf-8 Источник: http://httpd.apache.org/docs-2.0/ru/mod/core.html |