>Number: 1241
>Category: mod_dir
>Synopsis: it's not possible to implement PUT method for a directory
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Fri Oct 17 07:00:00 PDT 1997
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.2.4
>Environment:
not relevant
>Description:
It's pretty much of the problem in breif description. Problem is caused
by the fact mod_dir returns NOT_IMPLEMENTED if method isn't M_GET. This
makes it impossible to implement PUT method for a directory:-(
>How-To-Repeat:
in .htaccess
Script PUT /cgi-bin/PUT
<Limit PUT>
allow from all
</Limit>
>Fix:
*** mod_dir.c.orig Fri Jun 27 04:21:22 1997
--- mod_dir.c Fri Sep 5 16:05:55 1997
***************
*** 872,878 ****
if (error_notfound)
return error_notfound;
! if (r->method_number != M_GET) return NOT_IMPLEMENTED;
/* OK, nothing easy. Trot out the heavy artillery... */
--- 872,878 ----
if (error_notfound)
return error_notfound;
! if (r->method_number != M_GET) return DECLINED;
/* OK, nothing easy. Trot out the heavy artillery... */
%0
>Audit-Trail:
>Unformatted: