From 9bcdc41b97829d206745373c5411aabd01d7f3e8 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Fri, 5 Apr 2002 21:39:11 +0000 Subject: [PATCH] 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 --- build/mkconfNW.awk | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- 2.40.0