0

I am new to this community. I have an Httpd running on RHEL 7.X.while trying to upload a hello.world file to the WebDAV server using the following command:

curl -T hello.world -u webdav:webdav http://192.168.100.49/recordings/hello.world. 

In-Return,I am getting 405 ..PUT method is not allowed for this URL.

I am also sharing the contents of my webdav.conf file here:

<IfModule mod_dav.c>
   Alias /recordings /var/webdav/recordings"
    <Directory /var/webdav/recordings>
        Dav On
        Options Indexes MultiViews FollowSymlinks
        IndexOptions FancyIndexing
       AddDefaultCharset UTF-8
       AuthType Basic
      AuthName "webdav"
       AuthUserFile /var/webdav/htpasswd
       Require valid-user
       Order allow,deny
       Allow from all
      <LimitExcept GET POST OPTIONS PUT>
          Order allow,deny
          Allow from all
      </LimitExcept>
    </Directory>

   <Location "/recordings">
        Require valid-user
    AuthType Basic
        AuthName "webdav"
    AuthUserFile /var/webdav/htpasswd 
   </Location>
</IfModule>

Any helpful comments guys..Thanks in advance.

ρяσѕρєя K
  • 132,198
  • 53
  • 198
  • 213
Roohul Ammad
  • 1
  • 1
  • 2
  • Possible duplicate of [How to enable and use HTTP PUT and DELETE with Apache2 and PHP?](http://stackoverflow.com/questions/2934554/how-to-enable-and-use-http-put-and-delete-with-apache2-and-php) – Paul Sweatte Mar 15 '16 at 07:51

0 Answers0