Images not loading

Discussion in 'Apache' started by Demodirk, Aug 10, 2005.

  1. #1
    I've been using Apache for over 2 years on my Windows XP machine to test/develop my sites before i put them live.
    Now i'm having a problem loading images. The don't load at all or only partialy. Pressing refresh a few times sometimes displays the image.
    I don't have a problem with small images. (<50k)
    I have tested a few of my older sites that used to work fine and they don't work either.
    I'm having the same effect with IE, Firefox and Opera so i think it has something to do with Apache config.

    My Apache is version 2.0.54
    I have been reading FAQ's and forums to find a solution but no result.

    Any help will be greately appreciated
     
    Demodirk, Aug 10, 2005 IP
  2. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is your Apache running on the same machine with the browser?
     
    J.D., Aug 10, 2005 IP
  3. Demodirk

    Demodirk Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes. It is.
     
    Demodirk, Aug 11, 2005 IP
  4. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I guess that rules out the network. If you know how to monitor network traffic, run the browser on another machine and see if it behaves the same way. Then take a look at the traffic and see if the Apache cuts HTTP connections short. If not, then most likely there's something wrong with your browser setup. Even if you don't know to monitor networks, do this test and see if it changes anything (using a different kind of OS/browser will be even a better test). If everything works fine in this setup, chances are that your browser resets connections (it's hard to tell without the traffic sniffer, though).

    J.D.
     
    J.D., Aug 11, 2005 IP
  5. matt90

    matt90 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi,

    I'm having a somewhat similar problem in which images refuse to load. I moved to a new machine (running Ubuntu 9.10) and installed Apache, and none of the images on either of my virtual hosts would display. After restarting Apache and the machine several times, it seems to have "recovered" somewhat -- all of the images on one virtual host display, and it seems that images on the other virtual host are randomly chosen to be displayed (not always the same ones). When I try to view the images that did not load, Firefox says that the server reset the connection.

    Unlike Demodirk, images will not necessarily load if they are small. Yes, I have tried browsing on my server and off of it, and it behaves no differently.

    Help? Please?
     
    matt90, Jan 12, 2010 IP