I'm trying to filter Apache output for a WebDAV client. My filter works as expected with plain HTTP, but when a WebDAV client posts an OPTIONS request, things die: WITH FILTER ON:
OPTIONS /website/trunk/community/ HTTP/1.1 Host: svn.dubya-dev Connection closed by foreign host.
WITH FILTER DISABLED:
OPTIONS /website/trunk/community/ HTTP/1.1 Host: svn.dubya-dev HTTP/1.1 200 OK Date: Mon, 12 Dec 2005 18:30:38 GMT Server: Apache/2.0.54 (Ubuntu) DAV/2 SVN/1.2.0 PHP/5.0.5-2ubuntu1 mod_ +ssl/2.0.54 OpenSSL/0.9.7g mod_perl/2.0.1 Perl/v5.8.7 DAV: 1,2 DAV: version-control,checkout,working-resource DAV: merge,baseline,activity,version-controlled-collection DAV: <http://apache.org/dav/propset/fs/1> MS-Author-Via: DAV Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE +,LOCK,UNLOCK,CHECKOUT Content-Length: 0 Content-Type: text/plain; charset=UTF-8 Connection closed by foreign host.
This happens even if I program the filter to just pass buckets without doing anything to them. The only way it works is if I completely disable the filter in httpd.conf. Are there steps I need to take to make mod_perl i/o filters compatible with WebDAV? Thanks for any help.

In reply to mod_perl apache i/o filter borking WebDAV access by heisters

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.