understands the new macros.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94776
13f79535-47bb-0310-9956-
ffa450edef68
A["runtimedir"] = "logs"
A["errordir"] = "error"
A["proxycachedir"] = "proxy"
-
+
+ B["htdocsdir"] = A["ServerRoot"]"/"A["htdocsdir"]
+ B["iconsdir"] = A["ServerRoot"]"/"A["iconsdir"]
+ B["manualdir"] = A["ServerRoot"]"/"A["manualdir"]
+ B["errordir"] = A["ServerRoot"]"/"A["errordir"]
+ B["proxycachedir"] = A["ServerRoot"]"/"A["proxycachedir"]
}
/@@LoadModule@@/ {
sub(/@rel_.*@/,A[s],$0)
}
+match ($0,/@exp_.*@/) {
+ s=substr($0,RSTART+5,RLENGTH-6)
+ sub(/@exp_.*@/,B[s],$0)
+}
+
{
print
}