i am building an HTTP server...

what do i send to a client when he requests a file that is not on the server root dir?

what do i send to a client when he requests a picture that is not on the server root dir ( part of a whole site) ?

can any one tell me where can i find an arical or a source code?