wordpress-tools/etc/apache2/conf-available/wp-security.conf
2023-09-27 15:14:06 -07:00

14 lines
305 B
Plaintext

# restrict access to wordpress directories
<Directory "/srv/www/*/html/wp-content/">
<Limit POST PUT DELETE>
order deny,allow
deny from all
</Limit>
</Directory>
<Directory "/srv/www/*/html/wp-content/uploads/">
<Files "*.php">
Order Deny,Allow
Deny from All
</Files>
</Directory>