Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 28981 invoked from network); 6 Oct 2009 01:40:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Oct 2009 01:40:52 -0000 Received: (qmail 97558 invoked by uid 500); 6 Oct 2009 01:40:48 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 97514 invoked by uid 500); 6 Oct 2009 01:40:48 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 97499 invoked by uid 99); 6 Oct 2009 01:40:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 01:40:48 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jeff.dyke@gmail.com designates 209.85.222.199 as permitted sender) Received: from [209.85.222.199] (HELO mail-pz0-f199.google.com) (209.85.222.199) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 01:40:39 +0000 Received: by pzk37 with SMTP id 37so3417605pzk.10 for ; Mon, 05 Oct 2009 18:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=LVSDqFT7I996LmrOKtKvPhSX/pJUWkT2xD5jiQlWrss=; b=wqAhTJvr5hzlPAkhakUGIzMPJj6RAO1Ss4SBdYho3COZuh8+Kgw4Q7T5K6FN95ysv7 Vv1PLNU7CJ+5X2InLFzUM4aouuMmZWfZDk3C81fQq+quVJAWfNIFE8DEz6RvtV3jnQRk KXPLV8EEGHsx+dBvTysbdfTIQwv1pDgNSzFsE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=p8PCClglRNDakhzoKuIJ0JPg/iD9nNL0gDQg7SWjJGnljnZRWTU0J06Wfgq4PjGaYn mmucRUQKgje0t3+ME1VtcnE2pIY503n7ipzzfAnJNXB8IWskvn9ZxSoBxflZ/xTU70hb V/YjuKTFqOvv0jGrQMVOq+fvjwVQKjK8zms/M= MIME-Version: 1.0 Received: by 10.115.38.39 with SMTP id q39mr1295680waj.27.1254793217594; Mon, 05 Oct 2009 18:40:17 -0700 (PDT) In-Reply-To: <8496caf30910051745t3286758budcd71074078ebf0e@mail.gmail.com> References: <8496caf30910051715of5620e1ue8ee9cfaf5def882@mail.gmail.com> <3f1760910051721pb2e38d4h52dc37e5cd239203@mail.gmail.com> <8496caf30910051745t3286758budcd71074078ebf0e@mail.gmail.com> Date: Mon, 5 Oct 2009 21:40:17 -0400 Message-ID: <8496caf30910051840r7baf20a1of84666df568de242@mail.gmail.com> From: Jeff Dyke To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=0016e64c2684005a5704753a5092 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] DELETE method --0016e64c2684005a5704753a5092 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Oct 5, 2009 at 8:45 PM, Jeff Dyke wrote: > > On Mon, Oct 5, 2009 at 8:21 PM, Dick Davies wrote: > >> What's in the directory? If it's a filesystem, apache won't let you DELETE >> (unless you have it DAV enabled or something like that). >> >> Thanks for the quick reply, > > there is actually a collection of python wsgi compatible scripts in that > directory. At first was just setting: > Order allow,deny > Allow from all > > The the delete request is called on a url like > http://example.org/wsgi/image.py/image/2. Is there a different way this > type of request needs to be configured. > > grrrrrr, thought i excluded all of ... but it seems that the error was coming from a third party python module based on how it was being called. I knew it would be easy. > Jeff > >> On Tue, Oct 6, 2009 at 1:15 AM, Jeff Dyke wrote: >> > I'm trying to put together a REST-ful application and am having a hard >> time >> > getting apache configured to take DELETE's. I have in the virtual host >> > file: >> > >> > AllowOverride All >> > Options All >> > >> > Order allow,deny >> > Allow from all >> > >> > >> > >> > I only added this configuruation after it was first denied, thinking i >> had >> > to enable it. I'm using apache 2.2.13. This directory is also named as >> a >> > WSGIScriptAlias /wsgi /path/to/directory. POST/GET works fine, have not >> yet >> > tried PUT. >> > >> > Thanks for what is sure to be a simple solution. >> > >> > Jeff >> > >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server Project. >> See for more info. >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> " from the digest: users-digest-unsubscribe@httpd.apache.org >> For additional commands, e-mail: users-help@httpd.apache.org >> >> > --0016e64c2684005a5704753a5092 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Mon, Oct 5, 2009 at 8:45 PM, Jeff Dyk= e <jeff.dyke@gm= ail.com> wrote:

On Mon, Oct 5, 2009 at 8:2= 1 PM, Dick Davies <rasputnik@hellooperator.net> wr= ote:
What's in the directory? If it's a filesystem, apache won't let= you DELETE
(unless you have it DAV enabled or something like that).

Thanks for the= quick reply,
=A0
there is actually a collection of python= wsgi compatible scripts in that directory.=A0 At first=A0 <Directory>= ; was just setting:

Order allow,deny
Allow from all

The the delete request is c= alled on a url like http://example.org/wsgi/image.py/image/2.=A0 Is there a= different way this type of request needs to be configured.

grrrrrr, thought i excluded all of= ... but it seems that the error was coming from a third party python modul= e based on how it was being called.=A0

I knew it would be easy.
=A0
Jeff=A0
On Tue, Oct 6, 2009 at 1:15 AM, Jeff Dyke <jeff.dyke@gmail.com> wrote:
> I'm trying to put together a REST-ful application and am having a = hard time
> getting apache configured to take DELETE's.=A0 I have in the virtu= al host
> file:
> <Directory /path/to/directory />
> =A0=A0=A0=A0=A0=A0=A0 AllowOverride All
> =A0=A0=A0=A0=A0=A0=A0 Options All
> =A0=A0=A0=A0=A0=A0=A0 <Limit DELETE GET PUT POST >
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Order allow,deny
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Allow from all
> =A0=A0=A0=A0=A0=A0=A0 </Limit>
> =A0=A0=A0 </Directory>
>
> I only added this configuruation after it was first denied, thinking i= had
> to enable it.=A0 I'm using apache 2.2.13.=A0 This directory is als= o named as a
> WSGIScriptAlias /wsgi /path/to/directory.=A0 POST/GET works fine, have= not yet
> tried PUT.
>
> Thanks for what is sure to be a simple solution.
>
> Jeff
>

---------------------------------------------------------------= ------
The official User-To-User support forum of the Apache HTTP Server Project.<= br> See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
=A0 " =A0 from the digest: users-digest-unsubscribe@httpd.apache.= org
For additional commands, e-mail: users-help@httpd.apache.org



--0016e64c2684005a5704753a5092--