[GeoNode-users] query about the size limit of uploading

Toni Schönbuchner toni.schoenbuchner at csgis.de
Fri Feb 24 01:31:29 PST 2017


Hey Rasika,

from Simones answer I assume this needs to be fixed in geonode / django core.
A quick „hackish“ way could be to limit the upload size in your apache vhost config.

# limit to 1 mb
<Directory „/your/path/to/geonode/uploads“>
 LimitRequestBody 1048576
</Directory>

https://httpd.apache.org/docs/2.4/en/mod/core.html#limitrequestbody

cheers,

toni


----------------------------------------------------------------------

Message: 1
Date: Fri, 24 Feb 2017 11:29:35 +0530
From: Rasika Chinchwade <rasikachinchwade31 at gmail.com>
To: geonode-users at lists.osgeo.org
Subject: [GeoNode-users] query about the size limit of uploading the
	documents
Message-ID:
	<CA+tneBTXSNvArqJYxswj6wYFFt-qjZVC3ms4X9RuVNRTiz5hBA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

hello all,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170224/a5f0413c/attachment-0001.html>

------------------------------

Message: 2
Date: Fri, 24 Feb 2017 11:36:42 +0530
From: Rasika Chinchwade <rasikachinchwade31 at gmail.com>
To: geonode-users at lists.osgeo.org
Subject: [GeoNode-users] query about the size limit of uploading the
	documents
Message-ID:
	<CA+tneBQDcH4YXhZrdqxA-WSb8jrqJZ6XmZfCod5Pu=WwV_uaBQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

hello all,
I want to know how to update the size limit of  document .
I got the code in settings.py file of geonode.
MAX_DOCUMENT_SIZE = 2
I changed it by reducing to 1 .But it is not working actually.It is
actually accepting the size greater than the specfied size limit.
Also I want to give only some users the specified size limit while they are
using geonode. How I can do it? In which table this info is getting stored
about user and allowed size limit to him or her.

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170224/b6556a72/attachment-0001.html>

------------------------------

Message: 3
Date: Fri, 24 Feb 2017 09:02:17 +0100
From: Simone Dalmasso <simone.dalmasso at gmail.com>
To: Rasika Chinchwade <rasikachinchwade31 at gmail.com>
Cc: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
Subject: Re: [GeoNode-users] query about the size limit of uploading
	the	documents
Message-ID:
	<CAAHAC+cJPzQqJ_Otri+O9kfNTGTJPw107-n0v9UneJe8Ro48xg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

I noticed that the MAX_DOCUMENT_SIZE is no longer used. Not sure why,
though this means that is not possible to limit the size at the moment.



2017-02-24 7:06 GMT+01:00 Rasika Chinchwade <rasikachinchwade31 at gmail.com>:

> hello all,
> I want to know how to update the size limit of  document .
> I got the code in settings.py file of geonode.
> MAX_DOCUMENT_SIZE = 2
> I changed it by reducing to 1 .But it is not working actually.It is
> actually accepting the size greater than the specfied size limit.
> Also I want to give only some users the specified size limit while they
> are using geonode. How I can do it? In which table this info is getting
> stored about user and allowed size limit to him or her.
> 
> Thank you
> 
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170224/e679a7ed/attachment.sig>


More information about the geonode-users mailing list