<$mt:CGIPath$>

The value of the CGIPath configuration setting. Example (the output is guaranteed to end with "/", so appending one prior to a script name is unnecessary):

    <a href="<$mt:CGIPath$>some-cgi-script.cgi">
This page was last updated on 2008-04-14, 22:32.

1 Note

This seems to generate an absolute URL, including a domain name (even if CGIPath is set to a relative URL).

If you need a relative URL, use http://www.movabletype.org/documentation/appendices/tags/cgirelativeurl.html

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.