apache: pass script to fastcgi wrapper
[hcoop/domtool2.git] / src / plugins / apache.sml
index f88fb35..b959219 100644 (file)
@@ -803,8 +803,10 @@ val () = Env.action_two "fastScriptAlias"
              (* FIXME: only set kerberos wrapper of waklog is on *)
              write "\t\tFcgidWrapper \"";
              write (Config.Apache.fastCgiWrapperOf (Domain.getUser ()));
+             write " ";
+             write to;
              write "\"\n";
-             write "\t</Location>"))
+             write "\t</Location>\n"))
 
 val () = Env.action_two "errorDocument"
         ("code", Env.string, "handler", Env.string)