Rewrite HTTP server header with PHP -
when try use code:
header('x-powered-by: asp.net'); header('server: microsoft-iis/7.5');
the headers have sent are:
server:apache/2.2.22 (win64) php/5.4.3 x-powered-by:asp.net
what need do?
your server header being replaced apache2.
the solution may completly disable sending server header web server. in fact apache (and of web servers) not allow completly disable server signature.
you can find useful information here: removing http headers in apache2
Comments
Post a Comment