Htaccess: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
# Contoh 1 | |||
<Directory /var/www/html/wp-content/uploads/> | <Directory /var/www/html/wp-content/uploads/> | ||
php_admin_value engine Off | php_admin_value engine Off | ||
</Directory> | </Directory> | ||
# Contoh 2 | |||
<FilesMatch "\.(php)$"> | <FilesMatch "\.(php)$"> | ||
Order Deny,Allow | Order Deny,Allow | ||
Deny from all | Deny from all | ||
</FilesMatch> | </FilesMatch> |
Revision as of 03:25, 20 September 2023
- Contoh 1
<Directory /var/www/html/wp-content/uploads/>
php_admin_value engine Off
</Directory>
- Contoh 2
<FilesMatch "\.(php)$"> Order Deny,Allow Deny from all </FilesMatch>