1: 2007-06-13 (水) 15:57:18 nao-pon[5] [6] [7] | |||
---|---|---|---|
Line 1: | Line 1: | ||
+ | #nopagecomment | ||
+ | #navi(../) | ||
+ | * .htaccess (どっとえいちてぃあくせす) [#s518076e] | ||
+ | Webサーバ Apache の動作をディレクトリ単位で設定するためのテキストファイル。 | ||
+ | |||
+ | ** 文字化けしないための .htaccess [#gc8a93e4] | ||
+ | |||
+ | EUC-JP での運用なら次の設定が吉かも。 | ||
+ | |||
+ | #code(php,nonumber){{ | ||
+ | # Charactor Encoding | ||
+ | AddDefaultCharset EUC-JP | ||
+ | # PHP Settings | ||
+ | php_value output_buffering off | ||
+ | php_value output_handler null | ||
+ | php_value default_charset EUC-JP | ||
+ | php_value mbstring.language Japanese | ||
+ | php_value mbstring.encoding_translation off | ||
+ | php_value mbstring.internal_encoding EUC-JP | ||
+ | php_value mbstring.http_input pass | ||
+ | php_value mbstring.http_output pass | ||
+ | php_value mbstring.detect_order auto | ||
+ | php_value mbstring.substitute_character " " | ||
+ | }} | ||
+ | |||
+ | #navi(../) |
(This host) = https://xoops.hypweb.net