Movable Type Documentation > Appendices > Appendix: 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.

This page was last updated on 2008-04-17, 21:19.  

Submit a User Contributed Note

User contributed notes are a great way to share the knowledge you have gained in using Movable Type.

If you have a technical question or problem, please visit Movable Type Support.

(If you haven't left a note here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)