mod_allowmethods.html.en revision 9a58dc6a2b26ec128b1270cf48810e705f1a90db
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<?xml version="1.0" encoding="ISO-8859-1"?>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
50c04f297d76a57ead2fa6b73845f7563b1fc788sf XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
50c04f297d76a57ead2fa6b73845f7563b1fc788sf This file is generated from xml source: DO NOT EDIT
50c04f297d76a57ead2fa6b73845f7563b1fc788sf XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
50c04f297d76a57ead2fa6b73845f7563b1fc788sf -->
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<title>mod_allowmethods - Apache HTTP Server</title>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<link href="/images/favicon.ico" rel="shortcut icon" /></head>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<body>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<div id="page-header">
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<p class="apache">Apache HTTP Server Version 2.3</p>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<img alt="" src="/images/feather.gif" /></div>
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<div id="path">
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.3</a> &gt; <a href="./">Modules</a></div>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<div id="page-content">
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<div id="preamble"><h1>Apache Module mod_allowmethods</h1>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<div class="toplang">
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<p><span>Available Languages: </span><a href="/en/mod/mod_allowmethods.html" title="English">&nbsp;en&nbsp;</a></p>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf</div>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Easily restrict what HTTP methods can be used on the server</td></tr>
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung<tr><th><a href="module-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<tr><th><a href="module-dict.html#ModuleIdentifier">Module�Identifier:</a></th><td>allowmethods_module</td></tr>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<tr><th><a href="module-dict.html#SourceFile">Source�File:</a></th><td>mod_allowmethods.c</td></tr></table>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<h3>Summary</h3>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<p>This module makes it easy to restrict what HTTP methods can
50c04f297d76a57ead2fa6b73845f7563b1fc788sfused on an server. The most common configuration would be:</p>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf
1538dfa9300693372892a358260e1dcdbf1138eapoirier<div class="example"><h3>Example</h3><p><code>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf&lt;Location /&gt;<br />
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<span class="indent">
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic AllowMethods GET POST OPTIONS<br />
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic</span>
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic&lt;/Location&gt;
bed3c2e56e8f3328e780200466b9d009093db468sf</code></p></div>
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic</div>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<div id="quickview"><h3 class="directives">Directives</h3>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<ul id="toc">
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<li><img alt="" src="/images/down.gif" /> <a href="#allowmethods">AllowMethods</a></li>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf</ul>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf</div>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<div class="directive-section"><h2><a name="AllowMethods" id="AllowMethods">AllowMethods</a> <a name="allowmethods" id="allowmethods">Directive</a></h2>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<table class="directive">
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Restrict access to the listed HTTP methods</td></tr>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AllowMethods reset|<em>HTTP-method</em>
bed3c2e56e8f3328e780200466b9d009093db468sf[<em>HTTP-method</em>]...</code></td></tr>
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AllowMethods reset</code></td></tr>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory</td></tr>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_allowmethods</td></tr>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf</table>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<p>The HTTP-methods are case sensitive, and are generally as per
50c04f297d76a57ead2fa6b73845f7563b1fc788sfRFC given in upper case. The GET and HEAD methods are treated as
50c04f297d76a57ead2fa6b73845f7563b1fc788sfequivalent. The <code>reset</code> keyword can be used
bed3c2e56e8f3328e780200466b9d009093db468sfturn off <code class="module"><a href="/mod/mod_allowmethods.html">mod_allowmethods</a></code> in a deeper nested context:</p>
bed3c2e56e8f3328e780200466b9d009093db468sf
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<div class="example"><h3>Example</h3><p><code>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf&lt;Location /svn&gt;<br />
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic<span class="indent">
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic AllowMethods reset<br />
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic</span>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf&lt;/Location&gt;
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic</code></p></div>
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<div class="note"><h3>Caution</h3>
bed3c2e56e8f3328e780200466b9d009093db468sf <p>The TRACE method can not be denied by this module,
bed3c2e56e8f3328e780200466b9d009093db468sf use <code class="directive"><a href="/mod/core.html#traceenable">TraceEnable</a></code> instead.</p>
bed3c2e56e8f3328e780200466b9d009093db468sf</div>
bed3c2e56e8f3328e780200466b9d009093db468sf
bed3c2e56e8f3328e780200466b9d009093db468sf<p><code class="module"><a href="/mod/mod_allowmethods.html">mod_allowmethods</a></code> was written to replace the rather
50c04f297d76a57ead2fa6b73845f7563b1fc788sfkludgy implementation of <code class="directive"><a href="/mod/core.html#limit">Limit</a></code> and
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<code class="directive"><a href="/mod/core.html#limitexcept">LimitExcept</a></code>.</p>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf
50c04f297d76a57ead2fa6b73845f7563b1fc788sf</div>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf</div>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<div class="bottomlang">
50c04f297d76a57ead2fa6b73845f7563b1fc788sf<p><span>Available Languages: </span><a href="/en/mod/mod_allowmethods.html" title="English">&nbsp;en&nbsp;</a></p>
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung</div><div id="footer">
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh<p class="apache">Copyright 2011 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p></div>
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh</body></html>