httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: [users@httpd] 405 Method not allowed
Date Thu, 01 Oct 2009 10:24:39 GMT
Jawad hussain wrote:
> 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
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.

There needs to be some module at Apache level to allow and handle these 
PUTs.  Check out the mod_dav module at

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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message