In running Apache 2 and mod_perl 2, I'm trying to use a web browser to transfer files to the server using Apache::Request using $r-upload(). I'm trying to be lazy and use what ever is existing with Debian Sarge installs. (I've seen the link for How can I get started with a file upload script?) but it doesn't use the Apache 2/MP2/Mason framework. In cruising the 'net, it appears that libapreq2, which supplies this function, is imcomplete, buggy, or whatever. Ie, the Apache log file gives me program termination errors whenever starting the library.

This function is used in the shared/manipUpload.comp from the download at http://mason-cm.itassistance.biz. This package seems to work in Apache 1.3, and the upload is about the only thing not working in Apache 2, MP 2, and Mason.

Anybody have updates on Apache 2.0, MP 2, and Apache::Request status?

Thanx.

Ray.

Retitled by BazB from 'libapreq2'.


In reply to File upload with mod_perl2 and libapreq2 by stargrazer

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.