wordpress-tools/apache2/conf-available/wp-secuirty.conf

14 lines
305 B
Plaintext
Raw Normal View History

2023-09-26 10:27:10 -07:00
# 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>