Clinton's approach may be better (with PerlAccessHandler). Try that
approach first...
Basically to return a file content over there's not much work to be done:
1. Set the content mime type to octet/ application
2. open a file for reading as you normally would - via the open() and
close() functions
3. convert to base64 and send it over
Jen mlists wrote:
2007/6/14, Foo JH <[EMAIL PROTECTED]>:
Otherwise it will load the file specified in the uri and
send it back.
Then how can I "load the file and send it back" under modperl?Do I
need to call some routines like socket read/write?
Please show me more details.Thanks a lot.