How to enable all HTTP methods on Apache

独自空忆成欢 提交于 2019-12-12 04:58:38

问题


The apache server I have in my company blocks some HTTP methods that are required for WebDav. I would like to help my admin to enable HTTP methods I need. He sent me httpd.config file but I'm unable to find the section which blocks methods I need (like LOCK and UNLOCK)

In directory section I have:

AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,Includes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None

My admin also have told me that he did not find .htaccess

So my question is - where does the Apache block methods I need (does the apache enables only "default" http methods?)

And second question is - can I unlock the methods I need by listing them in httpd.conf file in directory section, for example:

  <Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
  Require valid-user
  </Limit>

I don't want to use the mod_dav module (i want to use sabre server). I just want to unlock http methods that are required for WebDav

Thank you, Mike

来源:https://stackoverflow.com/questions/43696369/how-to-enable-all-http-methods-on-apache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!