[GeoNode-users] Changes to local_settings.py ignored [Windows, Apache]

Alessio Fabiani alessio.fabiani at geo-solutions.it
Wed Nov 2 01:41:51 PDT 2016

Dear Nicolai,
is the problem related to the new layers also or just the old ones? Can you
please describe exactly your test-case?

The thing is... if you are trying to expose your saved maps, consider that
the configuration is stored on the database. Therefore if you created those
maps with the old ip most probably the configuration still has the latter
recored on the DB.

Best Regards,
Alessio Fabiani.

GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.

Ing. Alessio Fabiani
Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686




Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.


On Tue, Nov 1, 2016 at 3:29 PM, Nicolai Cryer <nkcryer at gmail.com> wrote:

> Hi,
> We're trying to open our Geonode installation to the public, and have done
> the necessary DNS stuff. As such, our Geonode is able to serve static files
> (html etc.) to outside the internal network, but the url for WMS services
> etc. still seems to be configured to the localhost.
> As such, users can view the Geonode front-end but cannot be served WMS/WFS
> content from our geoserver (these show up as bad tiles in geoexplorer).
> I tried to solve this by editing local_settings.py in
> C:\GeoNode-2.4.x\geonode-2.4.x\geonode, specifically the
> "PUBLIC_LOCATION" key in the OGC dictionary.
> The big problem is that no matter what I change in settings.py or
> local_settings.py, how many times I restart Apache/Tomcat/the whole server,
> delete .pyc files to be regenerated etc., the changes are never reflected
> in the actual OGC configuration. I don't understand where the problem lies!
> I've even attempted to delete settings.py without incident, so it's like
> the files are cached somewhere (perhaps in the bowels of Apache?)
> I would be most grateful for any ideas, because I've almost exhausted the
> list of buttons to push :/
> Best,
> Nicolai
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20161102/35d2fab4/attachment-0001.html>

More information about the geonode-users mailing list