homepage Welcome to WebmasterWorld Guest from 54.197.108.124
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Tons of 404 (error hits) on local images
After changing hosts
bongkph




msg:4250613
 9:42 am on Jan 8, 2011 (gmt 0)

I was viewing an AWStats log and found on 404 section that most error hits belongs to images locally hosted. Most are template images like /wp-content/themes/theme1/images/pic1.gif. I am using WordPress on my site.

I have also noticed that this 404 errors begun on the month when I transfered to a different web host. COuld it be an apache configuration? If so, how can I fix it? Thanks is advance.

 

jdMorgan




msg:4250995
 4:53 pm on Jan 9, 2011 (gmt 0)

There is no way we can tell from the information posted here...

Please tell us whether /wp-content/themes/theme1/images/pic1.gif is a correct URL-path, and if not, what the correct URL-path for that image should be.

It is possible that the configuration code supplied by WP might need to be adjusted for use with the new hosting company's servers.

Jim

tangor




msg:4251160
 5:14 am on Jan 10, 2011 (gmt 0)

Locally? Is it possible we're looking dev (local) links embedded in active (hosted) pages? Made that mistake once!

bongkph




msg:4251958
 4:33 pm on Jan 11, 2011 (gmt 0)

Hi, the path was correct and the image was displaying fine when web site is viewed. But why am I getting the error 404 on those images.

Even images located on /public_html/images/ are getting 404 errors on logs. Tried calling these images using both relative and absolute URL paths but still getting the errors.

jdMorgan




msg:4253372
 5:08 pm on Jan 14, 2011 (gmt 0)

Some server configurations log the original status of an HTTP request -- the status indicated *before* any internal path rewriting is done.

Check your actual server response headers for these image requests using the "Live HTTP Headers" add-on for Firefox and Mozilla-based browsers. If the images are ataully returned with a 200-OK status, then contact your host and inquire as to why the server response status is 200-OK, while the logs indicate 404-Not Found.

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved