-
Notifications
You must be signed in to change notification settings - Fork 36
config admincgipath
URL to the Melodyapplication directory.
The AdminCGIPath
configuration directive is the administrative analog to the CGIPath
directive and allows for a distinct URL path to be used for access to the administrative interface and scripts (e.g. index.cgi).
AdminCGIPath https://www.example.com/path/to/mt/
Its use is optional since the CGIPath
setting is used in its absence. However, for added security, Six Apart recommends use of this directive in combination with SSL (via https
protocol) in order to provide encryption/authentication of all administrative requests.
The value of this setting can be included in a template via the MTAdminCGIPath
template tag.
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.
Warning: If using a different domain or subdomain for
AdminCGIPath
, themt-static
directory should be copied or aliased to the same relative path (specified withStaticWebPath
) on both domains.
Full URL.
In your config.cgi
, the following (without AdminCGIPath
) would be used for all links to Melodyscripts, public or private:
CGIPath http://www.example.com/path/to/mt/
The following, in addition to the CGIPath
setting above, would use HTTP protocol for the public interface scripts and HTTPS protocol for the administrative scripts. You would, of course, need to enable SSL on your server before this will work.
AdminCGIPath https://www.example.com/path/to/mt/
The following, in addition to the CGIPath
setting above, would preferentially use the admin
subdomain of example.com
for accessing the administrative scripts. All public scripts would still use the CGIPath
setting.
AdminCGIPath http://admin.example.com/path/to/mt/
Questions, comments, can't find something? Let us know at our community outpost on Get Satisfaction.