Htaccess
Htaccess sebagai bantuan keamanan
- Contoh 1
Buat file .htaccess
<Directory "/var/www/html/wp-content/uploads/"> php_admin_value engine Off </Directory>
- Contoh 2
Buat file .htaccess
<FilesMatch "\.(php)$"> Order Deny,Allow Deny from all </FilesMatch>
- Contoh 3
Ini di letakan di 000-default.conf
<Directory "/var/www/html/info/"> <FilesMatch "\.(php)$"> Order Deny,Allow Deny from all </FilesMatch> </Directory>