Apache httpd.conf include file that the server won't overwrite?

tBartel03

Member
Apr 4, 2020
10
0
1
United States
cPanel Access Level
Root Administrator
I'd like to add
Code:
ServerSignature Off
to my Apache configuration however this is what is at the bottom of the file:

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# DO NOT EDIT. AUTOMATICALLY GENERATED. USE INCLUDE FILES IF YOU NEED TO MAKE A CHANGE
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I am aware that Apache allows including additional configuration files. What is the best file or way to add it without the server overwriting my custom settings?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
77
308
cPanel Access Level
Root Administrator
Hi,

You can disable Server Signature using the Apache Global Configuration tool within WHM
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston