Aaron,<=/p>
<=/p>
Yes, I am using WebDNA 7.=
<=/p>
What you’re proposi=ng sure seems like the thing I need. However, when I tried simply adding th=e following, Apache didn’t like it:
<=/p>
<IfModule mod_fastcgi.=c>
FcgidMaxRequestLen 120000000
</IfModule>
<=/p>
From a quick web search i=t seems that FcgidMaxRequestLen is associated with mod_fcgid.c rather than =mod_fastcgi.c. I suppose I could track down the mod_fcgid.so and load it, but I wanted to make sure that’s the right course of ac=tion and that I’m not simply having a syntax issue.=
<=/p>
Thanks,=
Brian=p>
<=/p>
From: aaronmic=haelmusic@gmail.com [mailto:aaronmichaelmusic@gmail.com]
Sent: Thursday, January 19, 2012 5:46 PM
To: talk@webdna.us
Subject: Re: [WebDNA] File Upload Issue
Are you using WebDNA7?
I found that the fcgid module is responsible for upl=oad size limits
you need to add/modify this directive in your apache= config
FcgidMaxRequestLen 12000000
I believe that is in bytes, so what I have here shou=ld be about 12MB. If I remember right, the default is around 2MB. &nb=sp;If you are using v7, then that is most likely the problem.
Others on here likely know more about the Fcgid dire=ctives.
I started using this last year for all my uploads, s=uper cool. It has the chunking feature which is really nice as it sho=ws upload progress and I find is a really stable way of uploading. Yo=u'll need a more complex upload script though, I can share mine.
On Jan 19, 2012, at 5:38 PM, Govinda wrote:
I’ve got a web page that allows m=e to select a file from my computer and upload it to the server. I am using= an HTML form with the following form elements to select the file to upload:
<form action=3D"uploadFile.dna&=quot; method=3D"post" name=3D"uploadFile" enctype=3D&qu=ot;multipart/form-data">
<input type=3D"file" name==3D"__prodFile1" value=3D"" size=3D"40">
If I select a small file (say a 102 kb =zip file), it works fine.
If I select a large file (say an 11 Mb =zip file), it fails.
I’ve examined the name-value pair=s in the [formvariables] and for the small file, I get [name]-[value] pairs= for all 7 of my form variables (of which the file is #2). However, for the larger file, it seems to be failing because of something in the [v=alue] of the uploaded file since the listing of my [formvariables] stops wh=en it reaches the [value] of the uploaded file. At that point, the rest of =my form variables fail to be listed and the web page stops loading.
What is crazy is that this code has wor=ked for 6 years and only failed yesterday when I migrated from OS X Snow Le=opard Server 10.6 and WebDNA 6 to OS X Lion Server 10.7 and WebDNA 7. I suspect that it has something to do with the Apache server= settings or perhaps not wrapping my [value] in a WebDNA context????=o:p>
Any help would be appreciated.
wrap the "[value]" (inside the [formvariab=les] which you use to see the formvars in the HTML output) in "[url]..=[/url]" .. so that you can at least see the rest of the HTML after wha=tever char is truncating the output.
----------------------------------------------------=----- This message is sent to you because you are subscribed to the mailing= list . To unsubscribe, E-mail to: archives:http://mail.webdna.us=/list/talk@webdna.us Bug Reporting:support@webdna.us
----------------------------------------------------=----- This message is sent to you because you are subscribed to the mailing= list . To unsubscribe, E-mail to: archives:http://mail.webdna.us=/list/talk@webdna.us Bug Reporting:support@webdna.us
--_000_6A4332EB8679B94DAB8AB56EC89B0CFF99AB043FExchangebihrlel_--
Associated Messages, from the most recent to the oldest: