I've written code for file upload and download using
HttpWebResponse class in C# with Apache 2.2 as a web server. In code I'm using
request.method = "PUT".
I want to config my HTTP config file to support
PUT method. I write PUT method script as:
<Location "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/output"> <Dav On <LimitExcept GET HEAD OPTIONS PUT> Allow from all </LimitExcept> </Location>
That's not working. It shows error at program output: (405) The method not allowed.