#22704 [Bgs]: PHP does not get webdav methods
| From: | sniper@php.net | Date: | Sat, 15 Mar 2003 00:50:20 +0000 |
| Subject: | #22704 [Bgs]: PHP does not get webdav methods | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35640@lists.php.net to get a copy of this message | ||
ID: 22704
Updated by: sniper@php.net
Reported By: nkolman at freemail dot hu
Status: Bogus
Bug Type: Apache2 related
Operating System: Windows XP
PHP Version: 4.3.2RC1
New Comment:
Ask more info from Hartmut. :)
Previous Comments:
------------------------------------------------------------------------
[2003-03-14 18:49:44] sniper@php.net
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
------------------------------------------------------------------------
[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