I'm using a WebDAV server script written in PHP. It works with mod_php, but not with php-cgi The problem is some WebDAV clients require a DAV: header in response to OPTIONS requests - the WebDAV spec promisses this While the WebDAV server script always responds with a DAV: header, Apache doesn't pass OPTIONS requests to CGIs - only mod_php passes OPTIONS requests to PHP scripts I even tried using `Script OPTIONS /path/webdav.php` - http://httpd.apache.org/docs/2.0/mod/mod_actions.html#script - but OPTIONS requests still aren't passed to the script This problem is expounded on the users list - http://thread.gmane.org/gmane.comp.apache.user/45401 Maybe it should be possible to pass OPTIONS requests to CGIs? Maybe `Script OPTIONS /path/webdav.php` should pass OPTIONS requests to CGIs? Maybe `Script FOO /path/webdav.php` should work with arbitrary request methods, to support future HTTP extentions Many thanks! Jack
This seems to be a duplicate of bug 15242, which claims to be fixed.
Thanks Ian, I re-tested with Apache 2.2.6 and indeed, it has been fixed. Much thanks, Jack