1 /* Copyright 2001-2004 The Apache Software Foundation
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
19 #include "apr_general.h" /* stringify */
22 * The below defines the base string of the Server: header. Additional
23 * tokens can be added via the ap_add_version_component() API call.
25 * The tokens are listed in order of their significance for identifying the
28 * "Product tokens should be short and to the point -- use of them for
29 * advertizing or other non-essential information is explicitly forbidden."
31 * Example: "Apache/1.1.0 MrWidget/0.1-alpha"
33 #define AP_SERVER_BASEVENDOR "Apache Software Foundation"
34 #define AP_SERVER_BASEPRODUCT "Apache"
36 #define AP_SERVER_MAJORVERSION_NUMBER 2
37 #define AP_SERVER_MINORVERSION_NUMBER 1
38 #define AP_SERVER_PATCHLEVEL_NUMBER 0
39 #define AP_SERVER_ADD_STRING "-dev"
41 /* keep old macros as well */
42 #define AP_SERVER_MAJORVERSION APR_STRINGIFY(AP_SERVER_MAJORVERSION_NUMBER)
43 #define AP_SERVER_MINORVERSION APR_STRINGIFY(AP_SERVER_MINORVERSION_NUMBER)
44 #define AP_SERVER_PATCHLEVEL APR_STRINGIFY(AP_SERVER_PATCHLEVEL_NUMBER) \
47 #define AP_SERVER_MINORREVISION AP_SERVER_MAJORVERSION "." AP_SERVER_MINORVERSION
48 #define AP_SERVER_BASEREVISION AP_SERVER_MINORREVISION "." AP_SERVER_PATCHLEVEL
49 #define AP_SERVER_BASEVERSION AP_SERVER_BASEPRODUCT "/" AP_SERVER_BASEREVISION
50 #define AP_SERVER_VERSION AP_SERVER_BASEVERSION