<div dir="ltr"><div><div><div>Hi Jonathan,<br><br></div>Thanks for the heads up. Just to be sure, by changing the geonode.conf I wont break any other GeoNode funcionality?<br><br></div>Cheers<br></div>Daniel<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 9, 2017 at 10:10 PM, Jonathan Doig <span dir="ltr"><<a href="mailto:j.doig@unsw.edu.au" target="_blank">j.doig@unsw.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-AU">
<div class="m_-6705893636097304793WordSection1">
<p class="MsoNormal">Dear all<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I found this issue on my own site and am passing it on as it also affects a number of sites I’ve found online.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The data on your Geonode site may be publicly downloadable, regardless of permissions, at:<u></u><u></u></p>
<p class="MsoNormal"><a href="http://%3cyour_geonode_host%3e/uploaded/layers/" target="_blank">http://<your_geonode_host>/<wbr>uploaded/layers/</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">You need to edit /etc/apache2/sites-available/<wbr>geonode.conf and remove the block which tells Apache to serve uploaded/layers/. It will look something like this:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040"> <Directory "/home/geonode/geonode/<wbr>geonode/uploaded/layers/"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040"> Order allow,deny<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040"> Options Indexes FollowSymLinks<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040"> Allow from all<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040"> Require all granted<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040"> IndexOptions FancyIndexing<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040"> </Directory><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Then restart Apache:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040"> sudo service apache2 restart<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’ve issued a <a href="https://github.com/GeoNode/geonode/pull/2899" target="_blank">
pull request</a> to update the <a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html#apache-configuration" target="_blank">
install doco</a>. As a courtesy, I’ve also contacted the admins of sites I found through a “Powered by Geonode” Google search.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards<u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#e36c0a" lang="EN-US">Jonathan Doig</span></b><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f"><u></u><u></u></span></p>
<p class="MsoNormal"><i><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">Software Engineer – Spatial Systems<u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">City Futures Research Centre<u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">UNSW Built Environment
<u></u><u></u></span></i></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">Level 3, Red Centre West Wing
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">UNSW Sydney<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">NSW 2052 AUSTRALIA<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">T:<a href="tel:+61%202%209385%205319" value="+61293855319" target="_blank">+ 61 (2) 9385 5319</a> M: 0409 049185<u></u><u></u></span></p>
<p class="MsoNormal"><span><a href="http://cityfutures.be.unsw.edu.au/" target="_blank"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#0563c1">cityfutures.net.au</span></a></span><span style="font-size:6.5pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u><u></u></span></p>
</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></div>