User Tools

Site Tools


apache:restrict_apache_information_leakage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
apache:restrict_apache_information_leakage [2016/07/12 14:10] – created peterapache:restrict_apache_information_leakage [2023/07/17 11:14] (current) – removed peter
Line 1: Line 1:
-====== Apache - Restrict Apache Information Leakage ====== 
  
-Edit the Apache2 configuration security file: 
- 
-<code bash> 
-sudo vi /etc/apache2/conf-available/security.conf 
-</code> 
- 
-Add or edit the following lines and save: 
- 
-<file bash /etc/apache2/conf-available/security.conf> 
-ServerTokens Prod 
-ServerSignature Off 
-TraceEnable Off 
-Header unset ETag 
-Header always unset X-Powered-By 
-FileETag None 
-</file> 
- 
-Restart Apache server.  Open a Terminal and enter the following: 
- 
-<code bash> 
-sudo service apache2 restart 
-</code> 
apache/restrict_apache_information_leakage.1468332652.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki