1: 2007-06-13 (Wed) 15:57:18 nao-pon ![]() ![]() |
|||
---|---|---|---|
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(../) |
Page Info | |
---|---|
Page Name : | keyword/.htaccess |
Page aliases : | None |
Page owner : | nao-pon |
Can Read | |
Groups : | All visitors |
Users : | All visitors |
Can Edit | |
Groups : | All visitors |
Users : | All visitors |