Hide Apache ServerSignature / ServerTokens

book

Article ID: 10017

calendar_today

Updated On:

Products

CA API Developer Portal CA API Gateway

Issue/Introduction

Possible way to hide ServerSignature & ServerTokens



Environment

Release: L7APIP99000-3.1-API Developer Portal-Perpetual
Component:

Resolution

Blow is the screenshot before applying the setting

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AJgdAAG" alt="11.PNG" width="604" height="335">

 

1. Navigate to  /etc/httpd/conf/httpd.conf

2. Edit the following in httpd.conf

i.  ServerTokens ProductOnly
ii. ServerSignature Off

After making the above changes run the below command

service httpd restart


Output after applying the settings

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AJgeAAG" alt="2.PNG" width="595" height="358">

Attachments

1558714435761000010017_sktwi1f5rjvs16tg6.png get_app
1558714433775000010017_sktwi1f5rjvs16tg5.png get_app