0

Is it possible to configure Apache httpd to ignore/block a specific HTTP method? If so, how?

I've tried adding the following but it didn't make any difference, non-listed methods still get through:

<LimitExcept GET HEAD PUT POST DELETE OPTIONS>
</LimitExcept>
masegaloeh
  • 17,978
  • 9
  • 56
  • 104
Pablo
  • 7,249
  • 25
  • 68
  • 83

2 Answers2

2

Use a <Limit> or <LimitExcept> section.

Ignacio Vazquez-Abrams
  • 45,019
  • 5
  • 78
  • 84
0

http://httpd.apache.org/docs/2.0/mod/core.html#limit

SamK
  • 1,326
  • 3
  • 14
  • 28