Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

how to hide server name in the response headder

Avatar

Level 1
 
1 Accepted Solution

Avatar

Correct answer by
Employee

Apache mod_headers module [1] allows you to control request/response headers, I would check that.

[1] https://httpd.apache.org/docs/current/mod/mod_headers.html 

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

Apache mod_headers module [1] allows you to control request/response headers, I would check that.

[1] https://httpd.apache.org/docs/current/mod/mod_headers.html 

Avatar

Community Advisor

Hey Ravi,

 

One option is to fix this by removing this header via the Dispatcher itself. To remove it via Dispatcher:

 

First, enable mod_headers, by adding it to your main .conf file

 

LoadModule headers_module /path/to/your/lib/mod_headers.so

Following which in your .conf file add following command, where ServerName is the name of the header you want to remove from your output.

RequestHeader unset ServerName

 

Regards,

Peter