apache:harden_apache:restrict_apache_information_leakage
This is an old revision of the document!
Apache - Harden Apache - Restrict Apache Information Leakage
Edit the Apache2 configuration security file:
sudo vi /etc/apache2/conf-available/security.conf
Add or edit the following lines and save:
- /etc/apache2/conf-available/security.conf
ServerTokens Prod ServerSignature Off TraceEnable Off Header unset ETag Header always unset X-Powered-By FileETag None
Restart Apache server. Open a Terminal and enter the following:
sudo service apache2 restart
apache/harden_apache/restrict_apache_information_leakage.1689592675.txt.gz · Last modified: 2023/07/17 11:17 by peter