Cara Menghilangkan Informasi Type Server Apache
Buka file berikut ini:
Buka file berikut ini:
code :
nano /etc/apache2/apache.conf
Atau, biasanya disini man:
nano /etc/httpd/conf/httpd.conf
edit file
ubah
ServerTokens OS
menjadi
ServerTokens ProductOnly
dan
Signature on
menjadi
Signature off
restart apache
menghilangkan php version
buka file /etc/php5/apache2/php.ini
nano /etc/php5/apache2/php.ini
ubah
expose_php on
menjadi
expose_php off
restart apache
Posting Komentar