summaryrefslogtreecommitdiff
path: root/www/MT/files
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2009-10-06 14:38:13 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2009-10-06 14:38:13 +0000
commit07b090ef99a17ac615ac92ae6f84962ae63a700d (patch)
tree144f2b1005157a63fc707c7e348d6d3ddbec03c6 /www/MT/files
parentUpdate from 0.8.17 to 0.8.18. (diff)
Update to 4.32
Convert to use OPTIONS Add an WITH_APACHE option (off by default) Make ready for language slave ports PR: 139303 Submitted by: Takefu Kenji <takefu@airport.fm>
Notes
Notes: svn path=/head/; revision=242516
Diffstat (limited to 'www/MT/files')
-rw-r--r--www/MT/files/MT.conf.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/MT/files/MT.conf.in b/www/MT/files/MT.conf.in
new file mode 100644
index 000000000000..417e51dbc450
--- /dev/null
+++ b/www/MT/files/MT.conf.in
@@ -0,0 +1,22 @@
+#
+# Directives to allow use of %%PACKAGENAME%% as a CGI
+#
+<IfModule alias_module>
+ Alias /MT "%%DATADIR%%/mt-static"
+ ScriptAlias /MTcgi "%%CGIDIR%%"
+</IfModule>
+
+#
+# This is to permit URL access to scripts/files in %%PACKAGENAME%% directory.
+#
+<Directory "%%CGIDIR%%">
+ Options None
+ Order allow,deny
+ Allow from all
+</Directory>
+<Directory "%%DATADIR%%/mt-static">
+ Options None
+ Order allow,deny
+ Allow from all
+</Directory>
+