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
  • 18,236
  • 10
  • 57
  • 106
Pablo Fernandez
  • 7,438
  • 25
  • 71
  • 83

2 Answers2

2

Use a <Limit> or <LimitExcept> section.

Ignacio Vazquez-Abrams
  • 45,939
  • 6
  • 79
  • 84
0

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

SamK
  • 1,356
  • 3
  • 14
  • 28