<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi again,<br>
<br>
After I got geonode up and running on a VirtualBox guest Ubuntu
14.04 server 64 bit, I still got various error messages and pages /
images / map content that wouldn't show. I figured it might be
related to geonode getting confused by the port forwarding on VB (eg
forwarded http requests from 2280 on host machine to 80 on guest).<br>
<br>
It took a while to figure out how to set up VB with a local static
IP address, and set the goenode-updateip to the correct IP. Now it
mostly works fine except for the attached 403 error on
<a class="moz-txt-link-freetext" href="http://">http://</a><host>/maps/new - something about a proxy not being in
the PROXY_ALLOWED_HOSTS setting. <br>
<br>
What is the way to resolve this on a production server?<br>
<br>
On this test server, I just set debug to True and restarted apache2
and the error is gone.<br>
<br>
I find it surprising that some requests from the client are sent
directly to the host IP instead of its domain name. E.g. some
requests are sent in my case as:<br>
<a class="moz-txt-link-freetext" href="http://10.0.0.206/uploaded/thumbs/layer-15349b62-2718-11e6-81f4-080027626197-thumb.png">http://10.0.0.206/uploaded/thumbs/layer-15349b62-2718-11e6-81f4-080027626197-thumb.png</a><br>
instead of <br>
<a class="moz-txt-link-freetext" href="http://geonode01/uploaded/thumbs/layer-15349b62-2718-11e6-81f4-080027626197-thumb.png">http://geonode01/uploaded/thumbs/layer-15349b62-2718-11e6-81f4-080027626197-thumb.png</a><br>
<br>
Why is that?<br>
<br>
Cheers,<br>
Jonas<br>
<br>
<div class="moz-signature">-- <br>
<div align="center"><font size="-1"><a style="color:#005F89;"
href="http://awesomemap.tools/">awesomemap.tools</a> | <a
style="color:#005F89;"
href="http://www.facebook.com/awesomemaptools.net">@Facebook</a>
| <a style="color:#005F89;"
href="http://twitter.com/awetools">@Twitter</a> | <a
style="color:#005F89;" href="https://github.com/ellvtr">ellvtr@Github</a>
| <a style="color:#005F89;"
href="https://github.com/awesomemaptools/">awesomemaptools@Github</a>
| <a style="color:#005F89;"
href="http://www.linkedin.com/in/jonasellehauge/">jonas@LinkedIn</a>
| <a style="color:#005F89;"
href="https://www.linkedin.com/company/10303547">awesomemaptools@LinkedIn</a>
| +47 984 81 362 @mobile | jonas_ellehauge@Skype</font></div>
<br>
</div>
</body>
</html>