[GeoNode-devel] getting started #2

Simone Dalmasso simone.dalmasso at gmail.com
Tue Jun 7 04:39:28 PDT 2016


make sure that the SITEURL is set to the geonode public domain, the one
that you use to access it from your host system. You can do that with "sudo
geonode-updateip yourdomain".

If you want to add an external layer to the map composer then you will have
to add the host in the PROXY_ALLOWED_HOSTS, but only in this case.

For the thumbnail url, is it possible that you loaded some layers before
changing the SITEURL?

2016-06-07 11:53 GMT+02:00 jonas ellehauge <jonas at ellevator.net>:

> Hi again,
> 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).
> 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 http://<host>/maps/new -
> something about a proxy not being in the PROXY_ALLOWED_HOSTS setting.
> What is the way to resolve this on a production server?
> On this test server, I just set debug to True and restarted apache2 and
> the error is gone.
> 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:
> instead of
> http://geonode01/uploaded/thumbs/layer-15349b62-2718-11e6-81f4-080027626197-thumb.png
> Why is that?
> Cheers,
> Jonas
> --
> awesomemap.tools | @Facebook <http://www.facebook.com/awesomemaptools.net>
> | @Twitter <http://twitter.com/awetools> | ellvtr at Github
> <https://github.com/ellvtr> | awesomemaptools at Github
> <https://github.com/awesomemaptools/> | jonas at LinkedIn
> <http://www.linkedin.com/in/jonasellehauge/> | awesomemaptools at LinkedIn
> <https://www.linkedin.com/company/10303547> | +47 984 81 362 @mobile |
> jonas_ellehauge at Skype
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20160607/01394e14/attachment.html>

More information about the geonode-devel mailing list