Bug 37982 - OPTIONS requests not passed to CGIs
Summary: OPTIONS requests not passed to CGIs
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_actions (show other bugs)
Version: 2.0.55
Hardware: All Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL: http://cgi.sfu.ca/~jdbates/moin/moin....
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-21 01:53 UTC by ms419
Modified: 2007-12-27 17:27 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ms419 2005-12-21 01:53:35 UTC
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
Comment 1 Ian 'Hixie' Hickson 2007-12-20 20:52:42 UTC
This seems to be a duplicate of bug 15242, which claims to be fixed.
Comment 2 ms419 2007-12-27 17:27:42 UTC
Thanks Ian, I re-tested with Apache 2.2.6 and indeed, it has been fixed. Much
thanks, Jack