如果使用源码编译的话,修改 include\ap_release.h 里面的名字和变量即可,然后编译.
#define AP_SERVER_BASEVENDOR "Apache Software Foundation"
#define AP_SERVER_BASEPRODUCT "Apache"
#define AP_SERVER_MAJORVERSION "2"
#define AP_SERVER_MINORVERSION "0"
#define AP_SERVER_PATCHLEVEL "54"
#define AP_SERVER_MINORREVISION AP_SERVER_MAJORVERSION "." AP_SERVER_MINORVERSION
#define AP_SERVER_BASEREVISION AP_SERVER_MINORREVISION "." AP_SERVER_PATCHLEVEL
#define AP_SERVER_BASEVERSION AP_SERVER_BASEPRODUCT "/" AP_SERVER_BASEREVISION
#define AP_SERVER_VERSION AP_SERVER_BASEVERSION
嘿嘿,要不要改改哪? 好玩
apache 1.3系列:
include/httpd.h
#define SERVER_BASEREVISION "1.3.20"
#define SERVER_BASEVENDOR "Apache Group"
#define SERVER_BASEPRODUCT "Apache"
#define APACHE_RELEASE 10320100
#define SERVER_SUPPORT http://www.apache.org/
不过修改后是不是对一些软件造成影响哪? 这就不得而知了.总之还是谨慎点好