]> granicus.if.org Git - apache/commitdiff
Added replacement values for the new tags in the httpd.conf file template
authorBradley Nicholes <bnicholes@apache.org>
Fri, 5 Apr 2002 21:39:11 +0000 (21:39 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Fri, 5 Apr 2002 21:39:11 +0000 (21:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94473 13f79535-47bb-0310-9956-ffa450edef68

build/mkconfNW.awk

index 0770bfba34f680b559d5f0ea087b8b8a88fd461c..aa8648314c2c3ccdc5f367239bed5daab5ccf5c6 100644 (file)
@@ -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