Movable Type Enterprise Documentation

« Introduction | Up | AdminCGIPath »

Chapter D: Configuration Directives

CGIPath

The CGIPath configuration directive is a required setting which defines the URL path to your Movable Type directory and is used in the construction of links to any of the various scripts which handle the system's public interfaces (e.g. comments, TrackBacks, search, etc).

This value can be output through your templates using the MTCGIPath template tag. You will see it used in the default templates in the comment and search forms, the RSD index template and others. The system also uses it internally in a number of ways.

Example

If you normally access Movable Type with the following URL:

http://www.example.com/cgi-bin/mt/mt.cgi

Then you would put this in your mt-config.cgi:

CGIPath http://www.example.com/cgi-bin/mt/

IMPORTANT:

For added security, Six Apart recommends the use of the AdminCGIPath configuration directive for defining the URL prefix to Movable Type's administrative scripts such as mt.cgi.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or question. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Enterprise Support.

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.