<-
Apache > Servidor HTTP > Documentación > Versión 2.5 > Módulos

Módulo Apache mod_allowmethods

Idiomas disponibles:  en  |  es  |  fr 

Descripción:Restringe fácilmente qué métodos HTTP pueden ser usados en el servidor
Estado:Experimental
Identificador de Módulos:allowmethods_module
Fichero de Código Fuente:mod_allowmethods.c

Resumen de contenidos

Éste módulo hace fácil restringir qué métodos pueden ser usados en el servidor. La configuración más común sería:

<Location "/">
   AllowMethods GET POST OPTIONS
</Location>

Directivas

Bugfix checklist

Consulte también

top

Directiva AllowMethods

Descripción:Restringe acceso a los métodos HTTP indicados
Sintaxis:AllowMethods reset|HTTP-method [HTTP-method]...
Valor por defecto:AllowMethods reset
Contexto:directory
Estado:Experimental
Módulo:mod_allowmethods

Los métodos HTTP son sensibles a mayúsculas y son generalmente, según RFC, indicados en mayúsculas. Los métodos GET y HEAD se tratan como equivalentes. La palabra clave reset puede ser usada para desactivar mod_allowmethods en un contexto anidado más profundo:

<Location "/svn">
   AllowMethods reset
</Location>

Precaución

No se puede restringir el método TRACE con este módulo; use TraceEnable en su lugar.

mod_allowmethods fue escrito para reemplazar la implementación más engorrosa de Limit y LimitExcept.

Idiomas disponibles:  en  |  es  |  fr 

top

Comentarios

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.