StaticFilePath
The StaticFilePath directive is necessary if you have moved your mt-static directory out of the MT directory (and configured StaticWebPath).
The StaticFilePath is an absolute filesystem path to the mt-static directory and corresponds to the absolute URL path or fully-qualified domain name URL specified in StaticWebPath.
Values ¶
Filesystem path, ie. /home/example/www/html/mt-static
Example ¶
If the MT directory is located at:
- URL: http://example.com/cgi-bin/mt/
- FIlepath: /home/example/www/cgi/mt/
...and your CGI-bin disallows the serving of HTML files, you might move your mt-static subfolder to your document root:
- URL: http://example.com/mt-static/
- FIlepath: /home/example/www/html/mt-static/
In this case, you would want to include the following in your mt-config.cgi:
CGIPath http://example.com/cgi-bin/mt # Can also be: /cgi-bin/mt
StaticWebPath http://example.com/mt-static # Can also be: /mt-static
StaticFilePath /home/example/www/html/mt-static/

Jay Allen
January 29, 2008 2:23 PM | Reply
The StaticFilePath directive will be necessary if you have moved your mt-static directory out of the MT directory (and configured StaticWebPath).
The StaticFilePath is an absolute filesystem path to the mt-static directory and corresponds to the absolute URL path or fully-qualified domain name URL specified in StaticWebPath.
For example, if your MT directory is located at:
...and your CGI-bin disallows the serving of HTML files, you might move your mt-static subfolder to your document root:
In this case, you would want to include the following in your mt-config.cgi: