freebsd-ports/www/MT/files/pm.apache.in
John Marino 10005e7516 www/MT,russian/MT: Upgrade version 5.2.11 => 5.2.12
The port needed an overhaul, there were many issues with it.  After the
initial fix, the maintainer also made it optionsNG compliant.

Note that when the default MYSQL option is selected, it will fail
check-plist as a result of the mysql ports not handling /var/db/mysql
creation correctly.  To fix the check, the mysql ports need fixing.

PR:		197588
Submitted by:	takefu (airport.fm)
overhaul by:	marino
2015-04-03 16:11:38 +00:00

37 lines
1.1 KiB
Text

**************************************************************************
You have just installed the movabletype.
Please read the documentation: http://www.movabletype.org/documentation/
Note that you should restart your Apache web server to ensure that
the %%MT_LANG%%MT configuration file is loaded, and then set
browser to http://localhost/MTcgi/mt.cgi
Please add the following to your apache config, and restart:
#
# Directives to allow use of %%PACKAGENAME%% as a CGI
#
%%APACHE22%%<IfModule mod_alias.c>
%%APACHE24%%<IfModule alias_module>
Alias /MT "%%PREFIX%%/%%DATADIR%%/mt-static"
Alias /MTcgi "%%PREFIX%%/%%CGIDIR%%"
</IfModule>
#
# This is to permit URL access to scripts/files in %%PACKAGENAME%% directory.
#
<Directory "%%PREFIX%%/%%CGIDIR%%">
Options ExecCGI
%%APACHE22%% Order allow,deny
%%APACHE22%% Allow from all
%%APACHE24%% Require all granted
%%APACHE24%% SetHandler cgi-script
</Directory>
<Directory "%%PREFIX%%/%%DATADIR%%/mt-static">
Options None
%%APACHE22%% Order allow,deny
%%APACHE22%% Allow from all
%%APACHE24%% Require all granted
</Directory>
**************************************************************************