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

Apache Web Server Forum

    
Images not showing up when accessing via IP
Rolf21




msg:3014343
 12:33 pm on Jul 19, 2006 (gmt 0)

I've got an odd problem with my testing environment.

When I test (php/htm) pages using the [localhost...] or [127.0.0.1...] everthing works fine, but when I use a network PC at [192.166.0.x...] it shows less than half of the images, even if using the network IP of the local machine.

I've not made any changes to my setup, it just started happening a few days ago. I was in the middle of making something and it didn't cause much problem at the time. I left it and hoped that by the time I needed to test over the network it would have been restarted several times (which it has)and would have resolved itself (which it hasn't).

I've tried adding the network IP to the hotlinking bit of the htaccess file, I've tried removing the htaccessfile altogether, I've tried to spot differences between the files that show up and the ones that don't - none of it has made the slightest difference or any sense at all :-(

Anyone else have this problem? any suggestions?

 

jdMorgan




msg:3014490
 2:24 pm on Jul 19, 2006 (gmt 0)

The first place to look for the problem is your raw server access and error logs. Without that information, you'll be chasing dozens of possible problems, instead of one or two.

Look at the logged 404 (or 403) errors in both log files, and see if you spot anything wrong with the requested URL-paths -- or if the requests were denied outright.

Jim

Rolf21




msg:3015594
 9:57 am on Jul 20, 2006 (gmt 0)

Thanks Jim.

it seemed obvious when I read it, but it hadn't occured to me that there would be error logs - guess I'm still a bit green when it comes to server admin.

I looked at the logs and couldn't see any problems, so after a bit of experimenting with different conditions I concluded the problem must be with the network or the proxy server.

To cut a long story short, it was the proxy causing the porblems and it seems all sorted now.

Thanks for your help

Rolf

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