On Fri, Jun 3, 2011 at 1:14 PM, John Delacour <johndelac...@gmail.com> wrote:
> I made it clear that I am serving the page dynamically from cgi-bin. Here is
> an example:

That part is irrelevant though because the image file is loaded by the
user agent AKA Web browser.

> <http://bd8.com/cgi-bin/test.pl>

And http://bd8.com/cgi-bin/images/test.jpg fails to download. Instead
I get an internal server error (HTTP 500). That is your problem. It
isn't Perl related. Maybe the server refuses to serve the image from
within the cgi-bin directory for security reasons? Perhaps you should
move the images into a separate document root and give an absolute
path e.g., http://bd8.com/images/test.jpg.


-- 
Brandon McCaig <http://www.bamccaig.com/> <bamcc...@gmail.com>
V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
Castopulence Software <http://www.castopulence.org/> <bamcc...@castopulence.org>

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to