+91 - 9161069102 support@megaacshost.com

How to block all HTTP methods except GET & POST(step by step guide)

How to block all HTTP methods except GET & POST(step by step guide)

Today in this post we will explain you how to block all HTTP methods except GET & POST.

Step::1 First of all login to your hosting cPanel and then select the  File Manager

MEGA ACS HOST

Step::2 Now select the public_html

MEGA ACS HOST

Step::3 And then find & Edit the .htaccess file in your installation directory

MEGA ACS HOST

Step::4 Now Copy the below code and paste inside the .htaccess file

<LimitExcept GET POST>
Deny from all
</LimitExcept>

Step::5 In the end click over Save Changes tab.

MEGA ACS HOST

This code will block all HTTP methods except GET & POST. That’s all, you’re done!!

Thanks for Reading this article !!! We hope this was helpful to you all.

If you’re looking for cheap web hosting. Please Contact to MEGA ACS HOST. Shared web hosting started at ₹ 399/Year.
Mega ACS Host: Website:- https://www.megaacshost.com/

Follow Us social media

Facebook Page– https://www.facebook.com/megaacshost/

Twitter Page– https://www.twitter.com/megaacshost

Leave a Reply

Your email address will not be published. Required fields are marked *