How to make FASTCGI deliver an external file

Jose Adriano Baltieri <jabaltie-a/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Organization UNIMEP
Message-ID <[email protected]>
Suppose that you have a FASTCGI like this :

While there are requests()
  if  request is not OK, say for security reasons, then
      send a message to the browser and loop again
  end if
  // the request is OK, that is, authorized THEN...
  // we need to send to the browser an external file
  // that is on this path : C:\SOMEWHERE\DOWN\ON\THE\SERVER\HARDDISK\EMPLOYEE_PICTURE.JPG
end While


Can I do that DIRECTLY ? That is, withouth having to RE-READ that file 
from inside FASTCGI itself ?

IOW, is there some special order or instruction that I can issue from 
FASTCGI telling the http server :

"Hey http server, deliver THE FILE ON THIS PATH to the browser, will you ?"

I use something similar on a particular implementation of a webserver 
API that we have here...

-- 
Obrigado,
------------------------------------------------------------------------------
                Jose Adriano Baltieri - Analista de Sistemas
                DTI - CENTRO - UNIMEP - Universidade Metodista de Piracicaba
                PIRACICABA - SP - Brasil - Fone : (19) 3124-1858
------------------------------------------------------------------------------

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.