|
From: Xiaowu G. <xg...@ia...> - 2001-08-10 20:14:25
|
Hi Rod: Yes, I am using 2.0. Sorry I forgot to mention this. I actually noticed that the default httpd.conf does not have an entry like LimitQuestBody, which is added in slash.conf, though. Is there any reason why slash does this. I placed my script in the original apache cgi-bin and it worked fine for read and returning smaller files, but failed when I tried with a big file. That is how I noticed the LimitRequestBody thing. I commented out the entry in the slash.conf file and it worked just fine. I am bit nervous, though, since I knows slash must do this for a reason. Again, thank you for your help. Xiaowu At 01:03 PM 8/10/2001 -0700, you wrote: >On Fri, 10 Aug 2001, Xiaowu Gai wrote: > > > Hi everyone: > > > > I am writing a script that has to use fileupload. I had slashcode installed > > on my machine. The script works if I place on a different machine (same as > > mine except does not have slashcode installed). However, when I tried to > > run the same script from my machine under the slash htdocs directory where > > the other slash scripts are placed. I could not make it to work. It won't > > be able to read the file that I upload. Does anyone has a clue as to what > > can be wrong and how I can fix it. Thank you. > > > >Well first off, which version of slash are you using? We modified >the version 1.x version submit.pl to handle file uploads, and we had >several problems getting it working, mostly because there is are several >places where limits are placed on the size of an incoming request. > >Ultimately what it came down to was an apache directive, LimitRequestBody, >which needed to be set appropriately in httpd.conf to accept files of the >correct size. If you're using slash 2.0, all bets are off, as we haven't >ported all of stuff to slash 2.0 yet, but it's possible that it's the same >problem. > >-Rod > >-- > >_________________________________________________________________ >|Rodney S. Heyd |Arizona State University-1504 | >|Web and System Administrator |Dept. of Physics and Astronomy | >|ECEPT,ACEPT |Tempe, Arizona 85287-1504 | >|he...@as... |PHONE: (480) 727-6291 | >|http://www.ecept.net/ |FAX: (480) 727-6019 | >|http://acept.asu.edu/ | | >------------------------------------------------------------------ > > >_______________________________________________ >Slashcode-general mailing list >Sla...@li... >http://lists.sourceforge.net/lists/listinfo/slashcode-general Xiaowu Gai, PhD Associate Scientist L. H. Baker Center for Bioinformatics and Biostatistics Iowa State University Ames, IA 50011 Phone: (515) 294-7624 Email: xg...@ia... |