From: Adam Chlipala Date: Sun, 24 Feb 2008 20:53:04 +0000 (+0000) Subject: testNoHtaccess X-Git-Tag: release_2010-11-19~49 X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/commitdiff_plain/ecc307a0d31b150d93330795398268814b249ff4 testNoHtaccess --- diff --git a/lib/apache.dtl b/lib/apache.dtl index ebfbeb4..483330f 100644 --- a/lib/apache.dtl +++ b/lib/apache.dtl @@ -79,3 +79,5 @@ extern val serverAlias : host -> [Vhost]; extern val serverAliasDefault : [Vhost]; {{Like serverAliasDefault, but adds aliases for the domains being configured instead of any of their hosts/"subdomains".}} + +extern val testNoHtaccess : [Location]; diff --git a/src/plugins/apache.sml b/src/plugins/apache.sml index eb4623a..b34eb56 100644 --- a/src/plugins/apache.sml +++ b/src/plugins/apache.sml @@ -1050,4 +1050,7 @@ val () = Domain.registerDescriber (Domain.considerAll Domain.Extension {extension = "vhost_ssl", heading = fn host => "SSL web vhost " ^ host ^ ":"}]) +val () = Env.action_none "testNoHtaccess" + (fn path => write "\tAllowOverride None\n") + end