[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: which module for this purpose?


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

Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.