Webサーバ Apache の動作をディレクトリ単位で設定するためのテキストファイル。
EUC-JP での運用なら次の設定が吉かも。
# Charactor Encoding
AddDefaultCharset EUC-JP
# PHP Settings
php_value output_buffering off
php_value output_handler none
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.script_encoding none
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.detect_order auto
php_value mbstring.substitute_character noneUTF-8 なら EUC-JP の部分を UTF-8 にすればOK
# Charactor Encoding
AddDefaultCharset UTF-8
# PHP Settings
php_value output_buffering off
php_value output_handler none
php_value default_charset UTF-8
php_value mbstring.language Japanese
php_value mbstring.encoding_translation off
php_value mbstring.internal_encoding UTF-8
php_value mbstring.script_encoding none
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.detect_order auto
php_value mbstring.substitute_character none| ぺージ情報 | |
|---|---|
| ぺージ名 : | keyword/.htaccess |
| ページ別名 : | 未設定 |
| ページオーナー : | nao-pon |
| 閲覧可 | |
| グループ : | すべての訪問者 |
| ユーザー : | すべての訪問者 |
| 編集可 | |
| グループ : | すべての訪問者 |
| ユーザー : | すべての訪問者 |