StaticWebPath

If you place all of your MT files in a cgi-bin directory, you will need to situate the static files from mt-static elsewhere, so that the webserver will not try to execute them.

Default value: none

Example:

    StaticWebPath http://www.example.com/path/to/static-files/
This page was last updated on 1969-12-31, 16:00.  

2 Notes

StaticWebPath should be set to the same protocol and domain as your weblog's admin interface to allow JavaScript to execute with same origin access inside your pages.

To elaborate on what can happen if you don't follow Niall's advice: the Edit Entry screen breaks and you will not be able to click in the text editor field nor will old entries load into it. So keep it on the same domain :-)

Leave a note

Have a question, please use the MT Forums. Notes sumbitted here should pertain to tips & hints regarding documentation.