Apache和自定义HTTP方法

是否有可能使Apache接受自定义的HTTP方法? 假设我想发送DESCRIBE方法。

我试图启用它在限制指令,但Apache返回405方法不允许。

这是我的configuration,它在mod_userdir

  <Directory /home/*/public_html> AllowOverride All Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec <Limit GET POST PUT DELETE OPTIONS DESCRIBE> Order allow,deny Allow from all </Limit> <LimitExcept GET POST PUT DELETE OPTIONS DESCRIBE> Order deny,allow Deny from all </LimitExcept> </Directory> 

我也在该configuration中启用了PUTDELETE方法,因为默认configuration不允许PUTDELETE

是的,这是可能的。 你必须编写一个模块来接受自定义方法。 Mod_dav可能是一个很好的开始; 我不知道任何其他扩展Apache的方法。