Hide Version Apache

بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ

sudo vim /etc/apache2/apache2.conf        #Debian/Ubuntu systems
sudo vim /etc/httpd/conf/httpd.conf       #RHEL/CentOS systems

And add/modify/append the lines below:

ServerTokens Prod
ServerSignature Off

Save the file, exit and restart your Apache web server like so:

sudo systemctl restart apache2  #SystemD
sudo service apache2 restart     #SysVInit

Sumber : https://www.tecmint.com/hide-apache-web-server-version-information/


21 September 2020
00:19 WIB
Pogung Baru, Sleman
Yogyakarta

comments powered by Disqus