X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/6804ff6b4360543d25859f5693da43ecc8cb31be..58807e6807a77e3b9fd5494a0e6f76ab0a70eabd:/src/plugins/apache.sml?ds=sidebyside diff --git a/src/plugins/apache.sml b/src/plugins/apache.sml index a490419..c87644c 100644 --- a/src/plugins/apache.sml +++ b/src/plugins/apache.sml @@ -474,6 +474,7 @@ fun vhostPost () = (!post (); val php_version = fn (EVar "php56", _) => SOME 56 | (EVar "php72", _) => SOME 72 | (EVar "php73", _) => SOME 73 + | (EVar "php74", _) => SOME 74 | _ => NONE fun vhostBody (env, makeFullHost) = @@ -665,8 +666,8 @@ fun checkExpires () = expiresEnabled := true) val () = Env.action_four "proxyRewrite" - ("from", Env.string, "tohost", Env.string, "to", Env.string, "flags", Env.list flag) - (fn (from, tohost, to, flags) => + ("from", Env.string, "to", Env.string, "tohost", Env.string, "flags", Env.list flag) + (fn (from, to, tohost, flags) => (checkRewrite (); write "\tRewriteRule\t\""; write from;