[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: <img src="http://<staticip>/file"> work but http://www.domain.com/file"> not work

Bernd Eckenfels wrote:
On Tue, Dec 24, 2002 at 04:51:04AM -0700, eric lin wrote:

 Do you know why in the html code to show photo by
<img src=" or jpg"> work but
<img src="http://www.domain.com/photo.gif or jpg"> not work?

you are totally in the wrong list, but anyway:

eighter www.domain.com does not resolv to or you web server is
using name based virtual hosts. The ip does match the default host, the name
does match another one.

If you want us to help you need to provide real address, real error messages
and a description of your network.

Thanks your reply,
In my own site(my comuter's browser) I can see that pic even using <img src="http://www.domain.com/photo.gif";> in my /var/www/index.html

  but in www.finitesite.com(a free webhosting company)'s my index.html
if I also put
<img src="http://www.domain.com/photo.gif";> then the photo is broken when I vistie my finitesite page, www://www.finitesite.com/fsshl
-but using static ip work

Do you use proxies? Firewalls? What kind of firewall? What happens if you
directly type the images address (both) in your browser?
both www.domain.com/photo.gif or in URL of any browser all work.


Sincere Eric
linux pc for sale

Reply to: