Welcome! Log In Create A New Profile


How to create new webdav method

Posted by Kubik129 
How to create new webdav method
June 04, 2010 10:57AM
Hello all,
I have installed nginx-0.8.16. There are some webdav methods - PUT, DELETE, COPY, MOVE, etc. - which can work with file system. And I want to add one (or may be more) method to do additional file system operations, for example, create hardlinks. I start my attempts from coping the existed method, I choose COPY method as a "model", named new method COPY2, copy all code, build and restart nginx. But when I tryed to call this new method I got 405 Not Allowed error, log said this:
COPY2 /mytestFolder/mytestFile HTTP/1.1 405 166 "-" "-"

Many thanks in advance for any ideas.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 43
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready