projector1 Posted December 14, 2009 Posted December 14, 2009 I have setup the moodle box we have to a local ip address and got external ip address to access it from outside of school . My problem is that the images are pointing to 10. address so when you browse externally will the 80. address the image is missing. (we are having to point the images to the 80 address) I thought the NAT would handle this. The rest of the site is accessible. We have tried it from several machines at home. Moodle v 1.9 server 2003 r2 running wamp
projector1 Posted December 14, 2009 Author Posted December 14, 2009 i may have just stumbled accross a solution, point to the pictures by url as apposed to ip address thanks Alan, you know who you are!
alan-d Posted December 14, 2009 Posted December 14, 2009 Old age catches us all up sooner or later In your case - Sooner!! 1
tom_newton Posted December 14, 2009 Posted December 14, 2009 Another solution is to use relative urls where possible! Eg img src=../../images/foo.jpg rather than include the full, canonical URL, as this will let the browser interpret the link. NAT works a few levels too low down the network layer model to handle this - theoretically a layer7 reverse http proxy could handle such a job but I have never seen this in practice.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now