httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/build mkconfNW.awk
Date Tue, 23 Apr 2002 23:32:34 GMT
bnicholes    02/04/23 16:32:33

  Modified:    build    mkconfNW.awk
  Log:
  Fixed the NetWare AWK script that produces the httpd.conf file so that it
  understands the new macros.
  
  Revision  Changes    Path
  1.5       +11 -1     httpd-2.0/build/mkconfNW.awk
  
  Index: mkconfNW.awk
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/build/mkconfNW.awk,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- mkconfNW.awk	19 Apr 2002 20:57:52 -0000	1.4
  +++ mkconfNW.awk	23 Apr 2002 23:32:33 -0000	1.5
  @@ -13,7 +13,12 @@
       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@@/ {
  @@ -50,6 +55,11 @@
   match ($0,/@rel_.*@/) {
       s=substr($0,RSTART+5,RLENGTH-6)
       sub(/@rel_.*@/,A[s],$0)
  +}
  +
  +match ($0,/@exp_.*@/) {
  +    s=substr($0,RSTART+5,RLENGTH-6)
  +    sub(/@exp_.*@/,B[s],$0)
   }
   
   {
  
  
  

Mime
View raw message