httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject [users@httpd] Allow HTTP DELETE method?
Date Wed, 08 Feb 2006 18:04:18 GMT

I'm running Apache 1.3.33 and am trying to restrict a certain directory for a
client to view, download and then delete files.

The restricting, viewing and downloading bit was simple enough, but the deleting
bit isn't working :-(

Here's the httpd.conf entry...

<Directory "/foo/bar/directoryname/">
Options Indexes
AuthUserFile /usr/local/apache/conf/htaccess/clientpassword
AuthName Client Name
AuthType Basic
require valid-user

<limit GET DELETE>
require valid-user

But when you run the following...

curl -u user:password -X DELETE get this back...

<TITLE>405 Method Not Allowed</TITLE>
<H1>Method Not Allowed</H1>
The requested method DELETE is not allowed for the URL /directoryname/testfile.<P>
<ADDRESS>Apache/1.3.33 Server at Port 80</ADDRESS>

Even if you edit the permissions so the directory is owned by the user the
webserver is running as, and also chmod 777 the testfile it still doesn't work.

I'm thinking it's more an error with my apache configuration than file
permissions, but I could be wrong. Any ideas?

Thanks very much.

---- - Message sent via Madasafish Webmail - Up to 8Mb Broadband
now from just 11.99 a month

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