0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

xmlrpc.phpへのアクセスが酷いので・・・

Posted at

AWSで公開しているサーバが朝から何度かアクセス不能になった。

RDSへのアクセス過多という感じで、MySQLから接続を拒否されていたり、Webサーバが落ちたりしたので、ログを見ると、/xmlrpc.phpへのアクセスが酷い・・・

私自身が、MarsEditorからBlogを更新する為にしか使って無いxmlrpc.phpを有効にしているがために、攻撃を受けるのも嫌なので、/xmlrpc.phpに対するアクセスをApacheで弾くようにしました。

httpd.confに

httpd.conf
<Location "/xmlrpc.php">
    Order allow,deny
    Deny from all
</Location>

と書いて、Apache再起動すれば、直ぐにWebサーバは落ち着きを取り戻しました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?