Page 1 of 1

Can access Xampp sites from internet but images not loading

PostPosted: 08. January 2014 13:29
by sixfootjames
Slowly but surely I am configuring my Xampp setup so that I can access it from outside of my local network and send links to clients so that they can enter their own content but I am having a problem with the images and CSS not loading as it should and I am not sure what might be causing this.

I'm assuming there is a path issue that is incorrect so I need to figure out where I can make that change to resolve the issue please.

Thank you

Re: Can access Xampp sites from internet but images not load

PostPosted: 08. January 2014 13:42
by JJ_Tagy
This is not an XAMPP issue.

Only you can determine where to make the change based upon your post. You can always check your logs and it will tell you if the client requests an invalid file from the server.

Re: Can access Xampp sites from internet but images not load

PostPosted: 08. January 2014 13:59
by sixfootjames
Thanks JJ...now that you mention it, all my sites in the past have been running on http://localhost:81/ because of a conflict with IIS.
I have for some time now no longer used IIS at all but never switched back the port numbers.
In my efforts to give my clients access to the projects I am working on so that they can add content while I design and develop, I've set up Xampp so that clients can access it from the outside.

I build mostly WP sites now and have changed the ports back to 80 to run on http://localhost/ which got me to thinking about what you said. So I ran Interconnect's script (http://interconnectit.com/products/sear ... databases/) to do a find and replace on all of the instances of http://localhost:81/ and replace with http://localhost/.

I am loading it up from my phone (because I am having another slight issue accessing the sites internally from the no-ip.com domain name) but still the site does not load the images.

Any other thoughts perhaps that I should look at?

Re: Can access Xampp sites from internet but images not load

PostPosted: 08. January 2014 14:06
by sixfootjames
Just tried setting up a brand new site knowing that everything would be on http://localhost/ but that didn't load the images either.