-
Notifications
You must be signed in to change notification settings - Fork 36
file configcgi
The config.cgi
file is a plain text file containing configuration directives. A small set are required and the rest are optional. The Melody home directory contains a file named config.cgi-original
which can be edited and then saved under the name config.cgi
to provide the appropriate variables for your web hosting environment.
The required configuration directives tell the Melody application the URL where it is installed and the database settings.
-
The minimum basic
config.cgi
when using MySQL are:CGIPath http://www.domain.com/cgi-bin/m/ ObjectDriver DBI::mysql Database DATABASE_NAME DBUser DATABASE_USERNAME DBPassword DATABASE_PASSWORD DBHost localhost
Note: Advanced database config directives:
-
If the
mt-static
directory is left in the application directory on the file system, but aliased to a url which is not directly in theCGIPath
(it's common that static files cannot be accessed in thecgi-bin
directory), then add theStaticWebPath
:StaticWebPath http://www.domain.com/mt-static/
-
If the
mt-static
directory is moved out of the application directory, then add theStaticFilePath
:StaticFilePath /var/www/html/mt-static/
-
View other commonly used configuration directives to determine if these are needed for your system:
-
Upload (or save) the
config.cgi
file to the application directory. -
Access Melody and complete the last installation steps:
- Creating the administrator account.
- Creating the first website.
- Initializing the database with configuration options, admin account, and first website.
View the installation guides for more information on these last steps.
Categories: Installation, Guide
Tags: configuration, install, upgrade
Questions, comments, can't find something? Let us know at our community outpost on Get Satisfaction.
- Author: Six Apart Ltd, Byrne Reese
- Edited by: Violet Bliss Dietz