mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
wordpress: disable readme.html, xmlrpc.php, wp-cron.php
Closes: #2244. This patch disabled xmlrpc.php functionality entirely. For interacting with WordPress using app, the new REST API functionality is recommended. However, for the Pingback API XML-RPC is still a necessity. If this is an important feature for FreedomBox users, we intend to re-enable XML-RPC functionality in WordPress. Signed-off-by: nbenedek <contact@nbenedek.me> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
43532e8349
commit
f702e044f3
@ -54,3 +54,8 @@ Alias /wordpress /usr/share/wordpress
|
||||
Require all granted
|
||||
</IfFile>
|
||||
</Directory>
|
||||
|
||||
# Harden security by following wpscan's suggestions. Issue #2244
|
||||
<LocationMatch "^/wordpress/(readme.html|xmlrpc.php|wp-cron.php)">
|
||||
Deny from All
|
||||
</LocationMatch>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user