CGIPath

Defines the URL path to the Movable Type application directory.

The CGIPath configuration directive is a required setting. It 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. This tag is often used in blog/website templates to refer to scripts necessary for commenting, searhing, RSD file, and more. The Movable Type application also uses this value to reference files and URLs.

Warning: For added security, Six Apart recommends the use of the AdminCGIPath configuration directive to defining a separte domain or SSL protocol to access Movable Type 's administrative scripts (such as mt.cgi).

Value

Value can be a absolute url:

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

Or a url relative to to the site root:

CGIPath /cgi-bin/mt/

There is not default; this is a required configuration directive.

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/
This page was last updated on 2009-11-10, 22:10.

1 Note

I need help accessing my movable type site for the first time

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.