Remove sensitive information in Apache error page
Sensitive information is a gold mine for hackers. That is why you should always hide this information.
In order to hide this information, you just need to edit the file
sudo nano /etc/apache2/apache2.conf
And then, add two lines at the end of this file.
ServerTokens Prod ServerSignature Off
Cover photo by Philipp Katzenberger