November 27th, 2012, 05:06 PM
Images in CGI
I am working with CGI for developing web pages. But i am not able to add any images to that CGI page. Since i am working on <img src="/cgi-bin/apple.gif">... Not working.. Anyone help me out for this?...
November 27th, 2012, 06:26 PM
The image doesn't need to be in the cgi directory since it won't be executed. If you are just linking an existing image, put it in an image directory under document root.
If you are returning an image from a script, that would be a different story.