Apache: png file in CGI directory
I recently installed some software on my webserver (Fedora Core 2 running Apache 1.3) that runs in the cgi-bin. It generates graphs as png files in a subdirectory off of the cgi-bin
For example:
Program sits in /cgi-bin/prog/
Writes png files to /cgi-bin/prog/images
When you try to view the images in the web browser, they appear as broken images. If I move the images to the folder:
/images (directly under htdocs)
it works fine and I can see them. I cannot really configure the program as it was a download. I think that Apache is trying to execute the png or something which is why it is appearing as broken. Is there a way to allow png's to sit under cgi-bin without breaking them in a browser?
Thanks
|