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_

Clint



Unless Im mistaken, why not use instead the Apache default handler for these static files to be served?

Using the right directive for the directory containing the static files to be served:

SetHandler default-handler

Reply via email to