How to block PROPFIND (or any other method) on Apache

Posted on

How to block PROPFIND (or any other method) on Apache – Problems with loading a website are often blamed on the Internet connection, but even the most perfectly set up network cannot help if there is no service to reply at your destination. One of the most popular HTTP servers used for this task is Apache2. Much of Apache’s popularity can be attributed to its easy installation and use, but never the less it is possible to run into problems with even the easiest of the software. If you’ve encountered an issue loading your web page, follow these simple troubleshooting methods outlined in this guide to attempt to get your web server back up and working again. Below are some tips in manage your apache2 server when you find problem about linux, apache-2.2, .htaccess, , .

How can I block PROPFIND (or other methods, such as PUT or DELETE) on my whole site with Apache?

Use the Limit or LimitExcept directive. One example might be:

<Location />
<LimitExcept GET POST HEAD>
Order Allow,Deny
Deny from all
Satisfy all

Simpler. Limit just one method instead of trying your shot in the dark about what methods are really needed to except.

Order Deny,Allow
Deny from all

Leave a Reply

Your email address will not be published.