You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@hyperreal.org on 1998/10/03 18:49:33 UTC

cvs commit: apache-1.3/src/main util_script.c

coar        98/10/03 09:49:33

  Modified:    src      CHANGES
               src/main util_script.c
  Log:
  	Make it even easier for sites to present uniform content by
  	making the server's signature text, which is added to server-
  	generated pages, available to all types of requests.  Then
  	scripts, SSI pages, and such can all use the same signature
  	as the server's generated pages if desired.
  
  Revision  Changes    Path
  1.1097    +4 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1096
  retrieving revision 1.1097
  diff -u -r1.1096 -r1.1097
  --- CHANGES	1998/10/03 15:33:33	1.1096
  +++ CHANGES	1998/10/03 16:49:30	1.1097
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3.3
   
  +  *) Add the server signature text (from the core ServerSignature directive)
  +     to the list of envariables available to scripts, SSI, and the like.
  +     [Ken Coar]
  +
     *) PORT: Fix sys/resource.h handling for SCO 3.x platform.
        [M. Laak <ma...@proinv.ee>] PR#3108
    
  
  
  
  1.133     +1 -0      apache-1.3/src/main/util_script.c
  
  Index: util_script.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/util_script.c,v
  retrieving revision 1.132
  retrieving revision 1.133
  diff -u -r1.132 -r1.133
  --- util_script.c	1998/09/21 21:09:48	1.132
  +++ util_script.c	1998/10/03 16:49:32	1.133
  @@ -262,6 +262,7 @@
   #endif
   
       ap_table_addn(e, "PATH", env_path);
  +    ap_table_setn(e, "SERVER_SIGNATURE", ap_psignature("", r));
       ap_table_addn(e, "SERVER_SOFTWARE", ap_get_server_version());
       ap_table_addn(e, "SERVER_NAME", ap_get_server_name(r));
       ap_table_addn(e, "SERVER_PORT",