|Description:||Easily restrict what HTTP methods can be used on the server|
This module makes it easy to restrict what HTTP methods can be used on a server. The most common configuration would be:
<Location "/"> AllowMethods GET POST OPTIONS </Location>
|Description:||Restrict access to the listed HTTP methods|
AllowMethods reset|HTTP-method [HTTP-method]...
The HTTP-methods are case sensitive and are generally, as per RFC, given in upper case. The GET and HEAD methods are treated as equivalent. The
reset keyword can be used to turn off
mod_allowmethods in a deeper nested context:
<Location "/svn"> AllowMethods reset </Location>
The TRACE method cannot be denied by this module; use
© 2017 The Apache Software Foundation
Licensed under the Apache License, Version 2.0.