## Movable Type configuration file [mt.cfg] ## ## ## ## This configuration file holds system-wide configuration ## ## settings that apply to *all* of the blogs in your Movable ## ## Type installation. ## # Movable Type uses the CGIPath setting to construct links back to # CGI scripts; for example, the MT tag <$MTCGIPath$> is substituted # with the value of the CGIPath setting. You will need to change this # value when you first install MT; instructions for doing so are in # the Installation Instructions, in INSTALLING THE MOVABLE TYPE # APPLICATION CODE, Step 3. CGIPath http://mk.ucant.org/cgi-bin/ # The filesystem path to the 'db' directory, where your MT database # files are stored. You will probably need to change this when you # first install MT; instructions for doing so are in the Installation # Instructions, in INSTALLING THE MOVABLE TYPE APPLICATION CODE, Step 8. DataSource /home/mk/blog/db ## The following options are commented out: to uncomment an ## ## option, remove the '#' at the beginning of the line. ## ## First, however, make sure that you understand the purpose ## ## of the configuration setting. ## # # If you place all of your MT files in a cgi-bin directory, you # will need to situate the static files (docs, images, styles.css) # elsewhere, so that the webserver will not try to execute them. The # TROUBLESHOOTING section of the manual has more information. # StaticWebPath / # # # The filesystem path to the 'tmpl' directory, which contains the # front-end templates used by the Movable Type application. This # setting defaults to './tmpl', which means that the 'tmpl' directory # is in the same directory as the 'mt.cgi' file; you probably don't # need to change this setting. # # TemplatePath ./tmpl # # # By default, Movable Type looks for sendmail in three locations: # /usr/lib/sendmail, /usr/sbin/sendmail, and /usr/ucblib/sendmail. # If your sendmail is in a different location, you can adjust the # SendMailPath configuration setting. # # SendMailPath /usr/sbin/sendmail # # # If you would rather use SMTP than sendmail, you should set the # MailTransfer config setting to 'smtp' (as below). You will also # need to set the address of your SMTP server, and install the # Mail::Sendmail Perl module. See the TROUBLESHOOTING section of the # manual for more details. Possible values for MailTransfer are: # 'smtp', 'sendmail', and 'debug' (which just writes out mail messages # to STDERR, for debugging purposes). The default is 'sendmail'. # MailTransfer smtp SMTPServer localhost # # # By default, when writing to an output file (for example, one of your # index or archive pages), Movable Type will first write the data to # a temp file, then rename that temp file. In the case that the process # writing the data dies unexpectedly, this prevents the pages on your # site from being erased. If you do not like this behavior (because it # requires you to set directory permissions too loosely, for example), # uncomment the following setting. # # NoTempFiles 1 # # # The WeblogsPingURL setting is the URL used to send the XML-RPC # weblogs.com ping. You should not need to change this setting unless # weblogs.com announces that the URL is changing. # # WeblogsPingURL http://some.alternate.weblogs.com.server/path/ # # # The MTPingURL setting is the URL used to send the XML-RPC ping to # movabletype.org (if you have a Recently Updated Key). You should not # need to change this setting. # # MTPingURL http://some.alternate.movabletype.org.server/path/ # # # When uploading files through Movable Type's upload mechanism, a ceiling # is put on the size of the files that can be uploaded to prevent # denial-of-service attacks. By default this setting is 1MB. # # CGIMaxUpload 500_000 # # # When creating files and directories, Movable Type uses umask settings to # control the permissions set on the files. The default settings for file # creation (HTMLUmask, DBUmask, and UploadUmask) are 0111; for directory # creation (DirUmask), the default is 0000. You should not change these # settings unless you are running MT under cgiwrap or suexec, or some other # scenario where the MT application runs as you; in addition, you should not # change these settings unless you know what they mean, and what they do. # # DBUmask 0022 # HTMLUmask 0022 # UploadUmask 0022 # DirUmask 0022 # # # In addition to controlling permissions via umask settings, you can also # use the HTMLPerms and UploadPerms settings to control the default # permissions for files created by the system (either as output files or # uploaded files). The only real use of this is to turn on the executable bit # of files created by the system--for example, if MT is generating PHP files # that need to have the executable bit turned on, you could set HTMLPerms # to 0777. The default is 0666. You should not change these settings unless # you know what they mean, and what they do. # # HTMLPerms 0777 # UploadPerms 0777 # # # When processing uploaded files, if Movable Type notices that the file you # uploaded already exists, it will allow you to overwrite the original file, # by first asking for your confirmation. To do this, MT needs to write the # uploaded data to a temporary file. That temporary file is stored in the # directory specified by the TempDir setting; the value defaults to /tmp. # # TempDir /tmp/ # # # 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 40 # # # The filesystem path to the 'import' directory, which is used when importing # entries and comments into the system--'import' is the directory where the # files to be imported are placed. This setting defaults to './import', which # means that the 'import' directory is in the same directory as the 'mt.cgi' # file; you probably don't need to change this setting. # # ImportPath ./import # # # By default Movable Type uses Perl's flock() function to lock your # databases while reading and writing. On systems using NFS-mounted # directories, however, Perl's flock() may fail, unless the perl executable # has been built to use fnctl(2) instead of flock(2); and even then, it is # not certain that the locking will truly work. # # Thus, if you have problems running Movable Type on systems using NFS, you # can use this directive to use simpler file locking that will work over NFS. # # NOTE: do not adjust this setting unless you know what you are doing! # # UseNFSSafeLocking 1 # # # By default Movable Type uses the Perl module HTML::Entities to encode # characters into HTML entities, provided that you have this Perl module. # However, in some circumstances, even if you have this module, you may # not wish to use it for encoding; for example, if you are using a language # that uses a different character encoding (Polish, Russian, etc). In that # case, you should set the value of NoHTMLEntities to 1. # # NoHTMLEntities 1