From: "Ged Haywood" <[EMAIL PROTECTED]> > It seems a bit wasteful to have a mod_perl Apache process involved at > all in serving .jpg and other static files. Why not run a two-Apache > setup and let the non-mod_perl server serve them without even letting > a heavyweight process see the request? It's described in the Guide.
Not necessarily. There are always exceptions. For example, take a look at http://pics.beamartyr.net/ All of the pictures there go through mod_perl handlers which translate the entire path into a unique database entry. The application then stats the file on the filesystem, and does: my $fh=$pic->open; #returns the filehandle $r->send_fd($fh); close($fh); return OK; I used send_fd because it seemed from the documentation that it is a easier/better(?) method than rewriting the URI and setting default-handler. Is that not so? Issac