|
From: Rodney H. <ro...@ac...> - 2001-08-10 20:03:56
|
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/ | | ------------------------------------------------------------------ |