Jawad hussain wrote:
And what a pity, he ? If this was allowed by default, there would probably be 500,000 websites out there where you could just upload your files with xapclient.Hello, I am trying to PUT one file through OpenXcap but it seems Apache 2.2.12 is not allowed PUT method. Following is the error. Can someone have some solution are there any special settings for appache.conf and httpd.conf. xcapclient -i pres-rules Put Error -------- 405 Method not Allowed The requested method PUT is not allowed for the URL --- By Apache 2.2.12 (Ubuntu) Server
:-)There needs to be some module at Apache level to allow and handle these PUTs. Check out the mod_dav module at
http://httpd.apache.org/docs/2.2/mod/mod_dav.html This is not configured or enabled by default for good reasons.A PUT request to, for example, "http://localhost/some-location" means that whatever the client is sending as body to that request, is accepted by the server and written to the disk location corresponding to that URL. You probably do not want just anybody in the world being able to write files into your website directories, do you ?
So, don't just install mod_dav and enable this functionality without reading ALL the documentation VERY carefully, particularly the bits about authentication, security, etc.
Or else, give us the URL of your server. We all need a place to store files cheaply.
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx