Konfigurasi Security / Keamanan Apache – Bagian 1

Konfigurasi security yang diperlukan pada web server apache :

nano /etc/apache2/conf-enabled/security.conf
ServerTokens Prod
ServerSignature Off #menyembunyika versi apache
TraceEnable Off

Kemudian konfigurasi pada apache2.conf

<Directory /var/www/cybernexus>
   Options FollowSymLinks Indexes #jika tidak ada index.php maka blank
   AllowOverride None
   Require all granted
   AllowOverride All
</Directory>

Leave a Reply

Your email address will not be published. Required fields are marked *