mjc 96/06/03 04:48:25
Modified: src httpd.h
Log:
Around 1000 Apache servers are running (June 96) that have make modifications
to the SERVER_VERSION define. Most of them don't meet the HTTP/1.0 spec.
Added a helpful message explaining what to do to meet the spec.
Revision Changes Path
1.22 +13 -0 apache/src/httpd.h
Index: httpd.h
===================================================================
RCS file: /export/home/cvs/apache/src/httpd.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -C3 -r1.21 -r1.22
*** httpd.h 1996/05/27 19:48:38 1.21
--- httpd.h 1996/06/03 11:48:24 1.22
***************
*** 219,224 ****
--- 219,237 ----
/* ------------------------------ error types
------------------------------ */
+ /* If you have altered Apache and wish to change the SERVER_VERSION define
+ * below, please keep to the HTTP/1.0 specification. This states that
+ * the identification string should consist of product tokens with an
optional
+ * slash and version designator. Sub-products which form a significant
part
+ * of the application can be listed, separated by whitespace. The tokens
+ * are listed in order of their significance for identifying the
application.
+ *
+ * "Product tokens should be short and to the point -- use of them for
+ * advertizing or other non-essential information is explicitly forbidden."
+ *
+ * Example: "Apache/1.1b3 MrWidget/0.1-alpha"
+ */
+
#define SERVER_VERSION "Apache/1.1b3-dev"
#define SERVER_PROTOCOL "HTTP/1.0"
#define SERVER_SUPPORT "http://www.apache.org/"