From: Bradley Nicholes Date: Fri, 5 Apr 2002 21:39:11 +0000 (+0000) Subject: Added replacement values for the new tags in the httpd.conf file template X-Git-Tag: 2.0.35~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8dc6e83a77d4db6e68395a780b9ddc3c5838278;p=apache Added replacement values for the new tags in the httpd.conf file template git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94473 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/mkconfNW.awk b/build/mkconfNW.awk index 0770bfba34..aa8648314c 100644 --- a/build/mkconfNW.awk +++ b/build/mkconfNW.awk @@ -4,6 +4,15 @@ BEGIN { A["ServerRoot"] = "SYS:/APACHE2" A["Port"] = "80" + A["cgidir"] = "cgi-bin" + A["logfiledir"] = "logs" + A["htdocsdir"] = "htdocs" + A["sysconfdir"] = "conf" + A["iconsdir"] = "icons" + A["manualdir"] = "manual" + A["runtimedir"] = "logs" + A["errordir"] = "error" + A["proxycachedir"] = "proxy" } @@ -38,6 +47,10 @@ match ($0,/@@.*@@/) { sub(/@@.*@@/,A[s],$0) } +match ($0,/@rel_.*@/) { + s=substr($0,RSTART+5,RLENGTH-6) + sub(/@rel_.*@/,A[s],$0) +} { print