开发者

Default Encoding for Default Directory Viewer

开发者 https://www.devze.com 2023-01-31 14:47 出处:网络
When there is no index.html Apache provides a default directory viewer, however I want it to be encoded in utf-8 to show the filenames correctly. Adding AddDefaultCharset utf-8 to httpd.conf and /extr

When there is no index.html Apache provides a default directory viewer, however I want it to be encoded in utf-8 to show the filenames correctly. Adding AddDefaultCharset utf-8 to httpd.conf and /extra/httpd-autoindex.conf does not work. Any suggestion开发者_运维技巧s?


This configuration should help

IndexOptions Charset=UTF-8

details : mod_autoindex

0

精彩评论

暂无评论...
验证码 换一张
取 消