mt-config.cgiのスニペット
「この辺は良く使うかなー」という環境変数
## Movable Type Configuration File
##
## This file defines system-wide
## settings for Movable Type. In
## total, there are over a hundred
## options, but only those
## critical for everyone are listed
## below.
##
## Information on all others can be
## found at:
## http://www.movabletype.jp/documentation/config
#======== REQUIRED SETTINGS ==========
CGIPath /mtのパス/
StaticWebPath /mtのパス/mt-static/
StaticFilePath /サーバーのルート/mtのパス/mt-static
#======== DATABASE SETTINGS ==========
ObjectDriver DBI::mysql
Database DBの名前
DBUser DBユーザーの名前
DBPassword DBパスワード
DBHost DBホスト
#======== MAIL =======================
MailTransfer sendmail
SendMailPath /usr/lib/sendmail
#AdminScript mt.cgiをリネームする場合のファイル名
#CommentScript コメント使う場合のファイル名
#TrackbackScript Trackback使う場合のファイル名
#XMLRPCScript XML-RPC使う場合のファイル名
#AssetCacheDir サムネイル画像を生成するディレクトリ名
#SupportDirectoryPath /サーバーのルート/ユーザーの画像とかをアップするディレクトリ名
#SupportDirectoryURL ユーザーの画像とかをアップするディレクトリURL(http://~)
#SearchScript 検索スクリプトファイル名
#AltTemplate 代替テンプレート名 代替検索テンプレートファイル名
#SearchTemplatePath 検索テンプレートのディレクトリ名
#SearchDefaultTemplate デフォルト検索テンプレートファイル名
#PublishCharset UTF-8
DefaultLanguage ja
#DirUmask 0072
#HTMLPerms 0604
#UploadPerms 0604
環境変数リファレンス (MovableType.jp)
※ に編集。補助的な設定はコメントアウト。PublishCharsetを追加。
※ に編集。補助的な設定はコメントアウト。DirUmask / HTMLPerms / UploadPermsを追加。