Re: Using LimitRequestBody to Limit File Uploads

2007-07-29 Thread Nimrod A. Abing
On 7/30/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > The documentation says: > > """Similarly, an 'apache' subdirectory should have been created within > the package and the script file stored there under the name > 'django.wsgi'.""" > > Rather than trying to launch straight into setting up D

Re: Using LimitRequestBody to Limit File Uploads

2007-07-29 Thread Graham Dumpleton
On Jul 30, 12:26 am, "Nimrod A. Abing" <[EMAIL PROTECTED]> wrote: > On 7/29/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > > > > I would love to try that on my development server but I can't seem to > > > find documentation on how to do it: > > > >http://code.djangoproject.com/wiki/ServerArrang

Re: Using LimitRequestBody to Limit File Uploads

2007-07-29 Thread Nimrod A. Abing
On 7/29/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > > I would love to try that on my development server but I can't seem to > > find documentation on how to do it: > > > > http://code.djangoproject.com/wiki/ServerArrangements > > > > Can someone point me in the right direction? > > Available

Re: Using LimitRequestBody to Limit File Uploads

2007-07-29 Thread Graham Dumpleton
On Jul 29, 8:35 pm, "Nimrod A. Abing" <[EMAIL PROTECTED]> wrote: > On 7/29/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > > If not bound to mod_python because of need to use it for custom > > authentication/authorisation handlers connected to Django, you might > > also try using mod_wsgi instea

Re: Using LimitRequestBody to Limit File Uploads

2007-07-29 Thread Nimrod A. Abing
On 7/29/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > We hadn't been able to come up with a way of reproducing the problem > on demand so hadn't yet been able to investigate. Where people had > seen this exception it was very rare and very random. I think the following conditions trigger the

Re: Using LimitRequestBody to Limit File Uploads

2007-07-29 Thread Graham Dumpleton
On Jul 29, 8:00 pm, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Jul 29, 11:20 am, "Nimrod A. Abing" <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > I have recently begun testing LimitRequestBody to limit file uploads. > > It works but there are some issues. Whenever the uploaded file hits >

Re: Using LimitRequestBody to Limit File Uploads

2007-07-29 Thread Graham Dumpleton
On Jul 29, 11:20 am, "Nimrod A. Abing" <[EMAIL PROTECTED]> wrote: > Hello, > > I have recently begun testing LimitRequestBody to limit file uploads. > It works but there are some issues. Whenever the uploaded file hits > the limit, I get "Connection reset by peer". Ideally I would like to > be abl

Using LimitRequestBody to Limit File Uploads

2007-07-28 Thread Nimrod A. Abing
Hello, I have recently begun testing LimitRequestBody to limit file uploads. It works but there are some issues. Whenever the uploaded file hits the limit, I get "Connection reset by peer". Ideally I would like to be able to redirect the user to an error page but it seems that Django tries to run