Accessing apache on virtual pc

Posted by Rick Hensly on Server Fault See other posts from Server Fault or by Rick Hensly
Published on 2009-06-26T00:15:24Z Indexed on 2010/03/17 4:01 UTC
Read the original article Hit count: 652

Filed under:
|
|
|

I am using a virtual pc to test my website.

I can access all my webpages on the virtual pc.

However, images don't load correctly.

I can browse to my images folder and view all of them. However, if I click an image it will not load, and the apache log shows the virtual pc's ip trying to view the image:

192.168.0.55 - - [25/Jun/2009:20:10:41 -0400] "GET /images/pic.png HTTP/1.1" 302 220

Now, if I refresh the page it loads.

192.168.0.55 - - [25/Jun/2009:20:10:51 -0400] "GET /images/bg.png HTTP/1.1" 200 214

Also, images won't load in html or css. It seems like a redirecting problem or something, but I have no clue how to fix it.

Thanks for any advice

© Server Fault or respective owner

Related posts about apache

Related posts about images