in reply to Re: mod_perl apache i/o filter borking WebDAV access
in thread mod_perl apache i/o filter borking WebDAV access
Unfortunately, the only place I could find this documented was under the r->allowed API documentation. Go figure.# need to specify which options this can't deal with, or it wi +ll bork things. # if a method is undealt with, must pass DECLINED to apache. if ($filter->r->method_number != Apache2::Const::M_GET && $filter->r->method_number != Apache2::Const::M_PUT) { $filter->r->allowed($filter->r->allowed | (1<<Apache2: +:Const::M_GET) | (1<<Apache2::Const::M_PUT)); return Apache2::Const::DECLINED; # otherwise, we do want to do something with this request } else {
Thanks much for the tips!
|
|---|