Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get rid of "Server: Apache" from response header [closed]

Tags:

apache

ubuntu

I wonder if there is any way to remove the whole "Server: Apache" from the response header? I am able to hide the server info but I need to remove it completely (I don't even want to change the Apache to other thing).

I am using Ubuntu 12.04 LTS. I have attached a photo for the desired output:

Desired Header Output

like image 915
moderns Avatar asked May 03 '14 09:05

moderns


1 Answers

The inability to unset header is reported as a bug here Check this entry in the report. Also after some researching I found something saying that Header can be unset by including a module. Read it here, second last entry
http://apache-http-server.18135.x6.nabble.com/header-unset-server-does-not-work-td5006287.html Also this solution Removing http headers in Apache2

like image 51
Vishnuraj V Avatar answered Oct 08 '22 00:10

Vishnuraj V