<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi.  <span style="font-size: 12pt;">I found the problem, updating ubuntu, modsecurity, turned out to be incompatible, ok we have to wait the appropriate correction.</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">Error.log (apache)</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;"><span style="color: rgb(255, 0, 0);">[Thu Jun 30 14:03:36.708388 2016] [:error] [pid 9082] [client 192.168.1.1] ModSecurity: Access denied with code 403 (phase 2). Match of "eq 0" against "MULTIPART_UNMATCHED_BOUNDARY" required.
 [file "/etc/modsecurity/modsecurity.conf"] [line "80"] [id "200003"] [msg "Multipart parser detected a possible unmatched boundary."] [hostname "192.168.1.94"] [uri "/layers/upload"] [unique_id "V3VtB8CoAUUAACN6PsgAAAAI"]</span><br>
</span></p>
<p><br>
</p>
<p><span>Before the upgrade, ModSecurity was working perfectly.</span><br>
</p>
<p><span><br>
</span></p>
<p><span>Disable ModSecurity, and Geonode it worked very well.</span></p>
<p><br>
<span style="font-size: 12pt;"></span></p>
<div>Greetings and thanks Dalmasso</div>
<p></p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De:</b> Simone Dalmasso <simone.dalmasso@gmail.com><br>
<b>Enviado:</b> jueves, 30 de junio de 2016 05:29 a. m.<br>
<b>Para:</b> Polo Núñez<br>
<b>Cc:</b> geonode-users@lists.osgeo.org<br>
<b>Asunto:</b> Re: [GeoNode-users] Problem upload layers....</font>
<div> </div>
</div>
<div>
<div dir="ltr">I looks to me an apache misconfiguration. Check your virtualhost configuration, did you modify anything in there?</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-06-29 21:32 GMT+02:00 Polo Núñez <span dir="ltr"><<a href="mailto:javier2001@hotmail.com" target="_blank">javier2001@hotmail.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">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US">Trying to upload a file (shapefile, 5 files), on the platform GeoNode.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US">Error message:<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><b><span lang="EN-US">Forbidden<u></u><u></u></span></b></p>
<p class="MsoNormal" style="margin-bottom:0cm; margin-bottom:.0001pt; line-height:15.0pt">
<span lang="EN-US">You don't have permission to access /layers/upload on this server.<u></u><u></u></span></p>
<div class="MsoNormal" align="center" style="margin-bottom:0.0001pt; text-align:center">
<hr size="2" width="100%" noshade="" align="center">
</div>
<p class="MsoNormal" style="margin-bottom:0cm; margin-bottom:.0001pt; line-height:15.0pt">
<i><span lang="EN-US">Apache/2.4.7 (Ubuntu) Server at 192.168.1.94 Port 80<u></u><u></u></span></i></p>
<p class="MsoNormal" style="margin-bottom:0cm; margin-bottom:.0001pt; line-height:15.0pt">
<span lang="EN-US"> </span><span style="font-size:12pt">----------------------------------------------------------------------------------------------------------</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US"><br>
</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US">Trying to upload a file (shapefile, 5 files), on the platform Django admin.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US">Error message:<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US"><br>
</span></p>
<p class="MsoNormal"><b><span lang="EN-US">Forbidden<u></u><u></u></span></b></p>
<p class="MsoNormal"><span lang="EN-US">You don't have permission to access /admin/layers/uploadsession/add/ on this server.<u></u><u></u></span></p>
<div class="MsoNormal" align="center" style="margin-bottom:0.0001pt; text-align:center">
<hr size="2" width="100%" noshade="" align="center">
</div>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><i><span lang="EN-US">Apache/2.4.7 (Ubuntu) Server at 192.168.1.94 Port 80<u></u><u></u></span></i></p>
<p class="MsoNormal"><span lang="EN-US">----------------------------------------------------------------------------------------------------------<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><br>
</span></p>
<p class="MsoNormal"><span lang="EN-US">20 min ago, could raise the layers smoothly.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">My user is staff.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">/var/www/geonode/uploaded/layers (layers folder permission 777)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">connect by filezilla (sftp), I can upload files to the folder layers.<u></u><u></u></span></p>
<br>
<p></p>
</div>
</div>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">Simone </div>
</div>
</div>
</div>
</div>
</body>
</html>