if you were to use default-handler then Apache would handle stuff like conditional GETs properly, relieving your server from needing to serve the same content over and over again for images, which probably don't change that often.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?
of course, you can use the methods from Apache::File, like meets_conditions() and set_last_modified() to do that yourself and still use send_fd() :)
--Geoff