问题
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