<div dir="ltr">Hi,<div><br></div><div>geonode doesn't work well if is not in the root of the domain. The recommendation is to keep it under the root and user a virtualhost instead (like <a href="http://geonode.example.com/">geonode.example.com/</a>)</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-10 9:28 GMT+02:00 Naresh N <span dir="ltr"><<a href="mailto:naresh919@gmail.com" target="_blank">naresh919@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear All,<div> </div><div> Please suggest for the following query. Sorry to post to this group, since the query is not related to GeoNode software. I felt some users might faced issue and I may get some solution. </div><div><br></div><div> I have deployed the GeoNode 2.4 version in RHEL 7.2 64 bit machine. It is working fine. Now we want to make live to public. For this  our network team has given domain name with reverse proxy. </div><div> </div><div>For example:   My System IP:  192.168.XXX.XXX </div><div>Given Domain Name: <a href="http://example.com/geonode" target="_blank">http://example.com/geonode</a><br></div><div><br></div><div>And they have told that with reverseproxy  when users type <a href="http://example.com/geonode" target="_blank">http://example.com/geonode</a> will internal redirect to 192.168.XXX.XX  (Geonode depolyed system IP).</div><div><br></div><div>With the above the GeoNode home page is loading not properly, since  all the static links/jsfiles are not loaded, and I have found that the url is going to <a href="http://example.com/" target="_blank">http://example.com/</a><b>static/lib/<wbr>css/assets.min.css?v=2.4</b></div><div><b><br></b></div><div>when I modified the urr as follows, it is working fine<br></div><div><a href="http://example.com/" target="_blank">http://example.com/</a><b><i>geonode</i></b>/<b>sta<wbr>tic/lib/css/assets.min.css?v=<wbr>2.4</b><b><br></b></div><div><br></div><div>Then I added  in settings.py file static_url=/static/ to url=/geonode/static. The home page loaded properly. However if we click on Layers/Map/documents - those links are going to again </div><div><a href="http://example.com/layers" target="_blank">http://example.com/layers</a> - where page is not loading.<br></div><div><br></div><div>Please suggest <br></div><div><br></div><div><br></div><div><div>Please find below link -  it may be helpful - to give solution to my problme</div><div><b><a href="https://serverfault.com/questions/561892/how-to-handle-relative-urls-correctly-with-a-reverse-proxy" target="_blank">https://serverfault.com/<wbr>questions/561892/how-to-<wbr>handle-relative-urls-<wbr>correctly-with-a-reverse-proxy</a></b></div></div><div><br></div><div>Thanks&Regards,</div><div>Naersh</div><div><br></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>