Apache HTTPD
Public Attributes | List of all members
am_conf_t Struct Reference

Public Attributes

int allowed_set
 
apr_int64_t allowed
 

Detailed Description

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

Definition at line 46 of file mod_allowmethods.c.

Member Data Documentation

◆ allowed

apr_int64_t am_conf_t::allowed

Definition at line 48 of file mod_allowmethods.c.

◆ allowed_set

int am_conf_t::allowed_set

Definition at line 47 of file mod_allowmethods.c.


The documentation for this struct was generated from the following file: