1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2 * contributor license agreements. See the NOTICE file distributed with
3 * this work for additional information regarding copyright ownership.
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
20 #include "apr_general.h" /* stringify */
22 #define AP_SERVER_COPYRIGHT \
23 "Copyright 2009 The Apache Software Foundation."
26 * The below defines the base string of the Server: header. Additional
27 * tokens can be added via the ap_add_version_component() API call.
29 * The tokens are listed in order of their significance for identifying the
32 * "Product tokens should be short and to the point -- use of them for
33 * advertizing or other non-essential information is explicitly forbidden."
35 * Example: "Apache/1.1.0 MrWidget/0.1-alpha"
37 #define AP_SERVER_BASEVENDOR "Apache Software Foundation"
38 #define AP_SERVER_BASEPRODUCT "Apache"
40 #define AP_SERVER_MAJORVERSION_NUMBER 2
41 #define AP_SERVER_MINORVERSION_NUMBER 0
42 #define AP_SERVER_PATCHLEVEL_NUMBER 64
43 #define AP_SERVER_ADD_STRING ""
45 /* keep old macros as well */
46 #define AP_SERVER_MAJORVERSION APR_STRINGIFY(AP_SERVER_MAJORVERSION_NUMBER)
47 #define AP_SERVER_MINORVERSION APR_STRINGIFY(AP_SERVER_MINORVERSION_NUMBER)
48 #define AP_SERVER_PATCHLEVEL APR_STRINGIFY(AP_SERVER_PATCHLEVEL_NUMBER) \
51 #define AP_SERVER_MINORREVISION AP_SERVER_MAJORVERSION "." AP_SERVER_MINORVERSION
52 #define AP_SERVER_BASEREVISION AP_SERVER_MINORREVISION "." AP_SERVER_PATCHLEVEL
53 #define AP_SERVER_BASEVERSION AP_SERVER_BASEPRODUCT "/" AP_SERVER_BASEREVISION
54 #define AP_SERVER_VERSION AP_SERVER_BASEVERSION