php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22704 PHP does not get webdav methods
Submitted: 2003-03-14 10:12 UTC Modified: 2003-03-14 18:50 UTC
From: nkolman at freemail dot hu Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.2RC1 OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nkolman at freemail dot hu
New email:
PHP Version: OS:

 

 [2003-03-14 10:12 UTC] 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).

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-14 18:49 UTC] 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 18:50 UTC] sniper@php.net
Ask more info from Hartmut. :)

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 04 20:01:35 2025 UTC