Missing background

I have the following page:

<html>

<head>
<title>New Page 1</title>
</head>

<body background="WB00486_.gif" bgproperties="fixed">

<p>TEXT</p>
</body>
</html>

When I open this page by IE the background is there, but when CGI sends it the background gets missing. Why?

The CGI runs on Windows NT under PWS and what it does is opens the htm file, reads it and issues putchar() for every read character.
LVL 1
alex1234Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jhurstCommented:
WB00466_.gif is assumed to be in the same directory/location as the page since you have specified no modifier on the address.  Your script is probably operating from cgi-bin/yourscript.cgi, therefore the browser is going to request the background from cgi-bin as well.  

You need either to change to correct paths, move the background, or set a <base tag in your page so that the browser requests the background from the required location.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alex1234Author Commented:
Thanks, jhurst!

I did as you said and it worked. However, now the background appears even if I remove WB00466_.gif from cgi-bin directory. It looks like the browser keeps the image somewere in a cache. Is there a way to tell IE not to do this?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.