#22704 [Opn->Bgs]: PHP does not get webdav methods
ID: 22704
Updated by: sniper@php.net
Reported By: nkolman at freemail dot hu
-Status: Open
+Status: Bogus
Bug Type: Apache2 related
Operating System: Windows XP
PHP Version: 4.3.2RC1
New Comment:
First of all, the "allow_webdav_methods" ini option
has never existed in any release and it doesn't exist
in 4.3.2RC1 either..just the entry in php.ini-* files.
(which was just forgotten there when the c-code for it
was removed)
The way to handle webdav is to use php://input
see this:
http://www.php.net/manual/en/wrappers.php.php
PEAR has a class that uses it: HTTP_WebDAV_Server, more
information here:
http://pear.php.net/package-info.php?pacid=179
Previous Comments:
------------------------------------------------------------------------
[2003-03-14 10:12:08] nkolman at freemail dot hu
What I did:
I run PHP as an Apache (2.0.44) module. For a specific directory I set
in the .htaccess file:
php_value always_populate_raw_post_data 1
php_value allow_webdav_methods 1
What I expected to happen:
I wanted to handle all WebDAV http methods (e.g.: OPTIONS) in my PHP
script in that directory.
What happened:
I do not receive the OPTIONS method from Apache when a WebDAV request
is done from any WebDAV enabled application (e.g.: Ms Word).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22704&edit=1
Thread (3 messages)