logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: The requested method PUT is not allowed for the URL
Author
rohulammad



Joined: 07 Dec 2015
Posts: 1
Location: Pakistan,Karachi

PostPosted: Mon 07 Dec '15 13:09    Post subject: The requested method PUT is not allowed for the URL Reply with quote

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.
Back to top
jimski



Joined: 18 Jan 2014
Posts: 196
Location: USSA

PostPosted: Tue 08 Dec '15 4:14    Post subject: Reply with quote

First of all we are not a community but COMMUNE. We all sleep together, eat together, grow organic food and share the same wives. But we are good folks and we are willing to help outsiders like you anyway.

Please check the links below:
http://stackoverflow.com/questions/2934554/how-to-enable-and-use-http-put-and-delete-with-apache2-and-php

http://www.evardsson.com/blog/2010/04/27/apache-and-php-http-put-voodoo/

http://www.apacheweek.com/features/put
Back to top


Reply to topic   Topic: The requested method PUT is not allowed for the URL View previous topic :: View next topic
Post new topic   Forum Index -> Apache