通常の設定から変更を加えた箇所
(1)文字のエンコードモードを utf-8 → euc-jp に変更
280行前後
# By default Movable Type uses the UTF-8 character encoding which
# supports an international range of characters. For some languages,
# though, UTF-8 is not he ideal encoding. Use the PublishCharset
# option to determine the character encoding that is sent in the
# HTTP headers.
# PublishCharset utf-8
PublishCharset EUC-JP
→utf-8のままでは、i-modeで文字化けしてしまう。
でも本当はShift-JISにしておけば良かった。
(2)データベースソフトを SQLite に設定
65行前後
### SQLite Configuration - SQLite requires only the path to your SQLite
# database file.
#
ObjectDriver DBI::sqlite
Database /home/sites/lolipop.jp/users/lolipop.jp-dp10109874/web/yokohama/mt/db/sqlite/sqlite_1220
→最も軽いデータベースソフトです。
(3)エントリーの再構築を1度に40→8へと変更
220行前後
# When rebuilding individual archives, Movable Type splits up the rebuilding
# process into segments, where each segment consists of rebuilding N entries.
# The default value for N is 40, so by default, MT will rebuild 40 entries at
# a time, then move on to the next 40, etc. You can change that value globally
# here; for example, if you have a very stable server, you might wish to just
# get it all done with in one batch.
#
EntriesPerRebuild 8
→この数字は経験から出したもので、環境によって変わる。
|