-
Notifications
You must be signed in to change notification settings - Fork 36
config 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 forStaticWebPath
must be a relative url to allow JavaScript to execute with same origin access for bothAdminCGIPath
andCGIPath
URLs.
Full or relative URL. Required if mt-static
files are moved outside MT directory.
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
-
Categories: Appendix: Configuration Directives
-
Tags: config, javascript, mt-static, path, required, static, Updated for MT5, URL, web
-
Updated for MT5