Howto / Apache
How to change apache header
Author: Katrame
Visits: 914
Date: 27.09.2007
To remove the description of your apache web server on the headers sent to the browser you could simply changes 1 lines on the source and display what you want.
To do this get your source archive from http://httpd.apache.org/download.cgi:
# tar -zxvf httpd-2.2.6.tar.gz
# cd httpd-2.2.6
now edit the line where is reported as: #define AP_SERVER_BASEPRODUCT "Apache"
# vi include/ap_release.h
and replace with your own:
#define AP_SERVER_BASEPRODUCT "http_custom_string"
Author: Katrame
Visits: 914
Date: 27.09.2007
To do this get your source archive from http://httpd.apache.org/download.cgi:
# tar -zxvf httpd-2.2.6.tar.gz
# cd httpd-2.2.6
now edit the line where is reported as: #define AP_SERVER_BASEPRODUCT "Apache"
# vi include/ap_release.h
and replace with your own:
#define AP_SERVER_BASEPRODUCT "http_custom_string"
Page 1 of 2
>>
Se vuoi discutere con noi su questo articolo o comunque vuoi porci delle domande usa il nostro Forum

