Guide to mt-config.cgi Configuration File
mt-config.cgi file is a plain text file containing configuration directives. A small set are required and the rest are optional.
The required configuration directives tell the Movable Type application the URL where it is installed and the database settings.
The minimum basic
mt-config.cgiwhen using MySQL are:
CGIPath http://www.example.com/cgi-bin/mt/ ObjectDriver DBI::mysql Database DATABASE_NAME DBUser DATABASE_USERNAME DBPassword DATABASE_PASSWORD DBHost localhost
Note: Advanced database config directives:
mt-staticdirectory is left in the application directory on the file system, but aliased to a url which is not directly in the
CGIPath(it’s common that static files cannot be accessed in the
cgi-bindirectory), then add the
View other commonly used configuration directives to determine if these are needed for your system:
Upload (or save) the
mt-config.cgifile to the application directory.
Access Movable Type and complete the last installation steps:
- Creating the administrator account.
- Creating the first website.
- Initializing the database with configuration options, admin account, and first webstie.
View the installation guides for more information on these last steps.