All you need to do (assuming mod_perl2) is:
- set the content-type (to whatever file type you are sending)
- use $r->sendfile('filename')
See
http://perl.apache.org/docs/2.0/api/Apache2/RequestIO.html#C_sendfile_
Good point. Something learnt today.
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.