Scroll untuk baca artikel
Tips & TricksTutorial

Turning off Server Signature on Apache

165
×

Turning off Server Signature on Apache

Sebarkan artikel ini
tutorial
tutorial

Can the question if the error page appears on the website hosted in Apache kok appear complete version and Linux distro that is used along with IP address. Yes like this:

Apache 2.4.20 (Debian) Server at 192.168.1.73 Port 443

The intention is to remove the additional information for security reasons.

This is very easy, but it needs to edit the Apache configuration:

Debian/Ubuntu

nano /etc/apache2/apache2.conf

CentOS

nano /etc/httpd/conf/httpd.conf

Then in it find the line and change the value from On to Off as below:

ServerSignature Off

Finally restart the Apache web server process:

  • Debian/Ubuntu
    service apache2 restart
  • CentOS
    service httpd restart

    Completed and can be tested again. There should not be any information other than the error itself.

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

Situs ini menggunakan Akismet untuk mengurangi spam. Pelajari bagaimana data komentar Anda diproses.

Verified by MonsterInsights