DevHeads.net

Apache allowed OPTIONS

Hi all,

I have setup Webav with apache2.
I am testing the setup on a Debian7 with apache 2.2.22.
Although the webdav is functioning ok I have a third party application that
needs to put files on the webdav folder and before it does that it checks
the available methods that apache allows. This app is not able to operate
since apache does not announce the PUT method.

When I check with curl as below I indeed see that PUT is not listed:

curl -sI -X OPTIONS <a href="http://169.254.254.55/webdav/" title="http://169.254.254.55/webdav/">http://169.254.254.55/webdav/</a>
HTTP/1.1 200 OK
Server: Apache/2.2.22 (Debian)
DAV: 1,2
DAV: <http://apache.org/dav/propset/fs/1>
MS-Author-Via: DAV
Allow: *OPTIONS*
,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK
Content-Length: 0
Content-Type: httpd/unix-directory

I have tested above also with Debian9 with apache2 2.4.25 and no PUT method
is listed.
I have tried several combinations with Limit and LimitExcept to no avail.
The PUT functions correctly if one tries to PUT a file but the issue is
that it is not listed and this breaks the third party app as it is
currently built.

Is there any way to make apache list the PUT options as available?

Thanx for any assistance,
Alex