14 lines
305 B
Plaintext
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>
|