As a beginner in Mod_perl,
I have to get the file from the remote host (Mod_perl enabled Apache)
if not in the local host, so I am currently modifying SendFile.pm in Eagle
book
at
> unless(-e $r->finfo) {
...
instead of giving the nonexistence error message here
get the file from the remote host ( I assume the file exist there)
by connecting to the remote host using Socket here
...
}
But I have difficulties in setting up Socket connection to the remote.
Can I use just simple Perl Socket here (IO::Socket) ?
Thank you all.