#include "httpd.h"
#include "http_core.h"
#include "http_config.h"
#include "http_protocol.h"
#include "http_request.h"
#include "http_log.h"
#include "apr_strings.h"
Go to the source code of this file.
◆ am_conf_t
This module makes it easy to restrict what HTTP methods can be ran against a server.
It provides one command: AllowMethods This command takes a list of HTTP methods to allow.
The most common configuration should be like this: <Directory > AllowMethods GET HEAD OPTIONS </Directory> <Directory /special/cgi-bin> AllowMethods GET HEAD OPTIONS POST </Directory> Non-matching methods will be returned a status 405 (method not allowed)
To allow all methods, and effectively turn off mod_allowmethods, use: AllowMethods reset
◆ am_allowmethods()
◆ am_check_access()
< Module declines to handle
< Module declines to handle
Definition at line 53 of file mod_allowmethods.c.
◆ am_create_conf()
◆ am_merge_conf()
◆ am_register_hooks()
◆ am_cmds
Initial value:= {
}
static const char * am_allowmethods(cmd_parms *cmd, void *d, int argc, char *const argv[])
Definition at line 143 of file mod_allowmethods.c.
◆ aplog_module_index
| int* const aplog_module_index = &( allowmethods_module.module_index) |
|
static |