StaticWebPath

URL to the mt-static directory.

StaticWebPath http://www.example.com/path/to/mt-static

Required when moving the mt-static directory from the mt application directory.

If MT files are placed in a CGI executable directory which doesn’t serve non-executable files (as often the case with cgi-bin directories), the mt-static directory will need to be moved to a location. Usually the mt-static directory is moved to the web root or aliased to the web root via symlink or apache alias.

Warning: If using AdminCGIPath to specify a different url or protocol for accessing admin scripts, the value for StaticWebPath must be a relative url to allow JavaScript to execute with same origin access for both AdminCGIPath and CGIPath URLs.

Value

Full or relative URL. Required if mt-static files are moved outside MT directory.

Examples

Full URL:

StaticWebPath http://www.example.com/path/to/mt-static

Relative URL (use this when using AdminCGIPath with a different protocol and/or when aliasing to a different sub/domain):

StaticWebPath /path/to/mt-static
This page was last updated on 2012-12-30, 09:13.