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/03/07 04:11:50 UTC

cvs commit: apache-1.3/htdocs/manual new_features_1_3.html upgrading_to_1_3.html

coar        98/03/06 19:11:50

  Modified:    htdocs/manual new_features_1_3.html upgrading_to_1_3.html
  Log:
  	Document the change to the SERVER_VERSION symbol usage.
  
  Revision  Changes    Path
  1.48      +17 -1     apache-1.3/htdocs/manual/new_features_1_3.html
  
  Index: new_features_1_3.html
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/new_features_1_3.html,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- new_features_1_3.html	1998/03/03 01:21:55	1.47
  +++ new_features_1_3.html	1998/03/07 03:11:48	1.48
  @@ -562,7 +562,9 @@
     redirects on the backend servers which stay behind the reverse proxy.
    </LI>
   
  - <LI><STRONG>New map types for <SAMP><A HREF="mod/mod_rewrite.html#RewriteMap">RewriteMap</A></SAMP> directive</STRONG>
  + <LI><STRONG>New map types for
  +  <A HREF="mod/mod_rewrite.html#RewriteMap"><SAMP>RewriteMap</SAMP></A>
  +  directive</STRONG>
     <BR>
     The new map types `Randomized Plain Text' and `Internal Function' were added
     to the <SAMP>RewriteMap</SAMP> directive of mod_rewrite.  They provide two
  @@ -571,6 +573,20 @@
     between backend servers in a Reverse Proxy situation). Second, you now can
     translate URL parts to fixed (upper or lower) case (which is useful when
     doing mass virtual hosting by the help of mod_rewrite).
  + </LI>
  + <LI><STRONG><SAMP>SERVER_VERSION</SAMP> definition abstracted, and
  +  server build date added</STRONG>
  +  <BR>
  +  In earlier versions, the Apache server version was available to modules
  +  through the <SAMP>#define</SAMP>d value for <SAMP>SERVER_VERSION</SAMP>.
  +  In order to keep this value consistent when modules and the core server
  +  are compiled at different times, this information is now available
  +  through the core API routine
  +  <CODE>const&nbsp;char&nbsp;*apapi_get_server_version()</CODE>.  The use of
  +  the <SAMP>SERVER_VERSION</STRONG> symbol is deprecated and anti-recommended.
  +  In addition, a related datum is now available through the use of the
  +  API routine <CODE>const&nbsp;char&nbsp;*apapi_get_server_built()</CODE>,
  +  which returns a string representing the time the core server was linked.
    </LI>
   </UL>
   
  
  
  
  1.15      +6 -0      apache-1.3/htdocs/manual/upgrading_to_1_3.html
  
  Index: upgrading_to_1_3.html
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/upgrading_to_1_3.html,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- upgrading_to_1_3.html	1998/03/06 09:37:07	1.14
  +++ upgrading_to_1_3.html	1998/03/07 03:11:49	1.15
  @@ -177,6 +177,12 @@
   changes in third party modules not maintained by Apache.
   
   <UL>
  +  <LI>Use of <SAMP>SERVER_VERSION</SAMP> definition.  If third-party
  +   modules reference the server version string using this symbol,
  +   they should be corrected to obtain it by calling the new API routine
  +   <CODE>const&nbsp;char&nbsp;*apapi_get_server_version()</CODE>.
  +  </LI>
  +
     <LI><CODE>construct_url</CODE> prototype change.  The second parameter
       was previously a <CODE>server_rec</CODE>, it has been changed to
       a <CODE>request_rec</CODE>.