AW: [Pmwiki-users] File Upload with big files
Klaus Olszowi
olszowi
Fri Jan 9 07:51:47 CST 2004
I found the problem:
It was the 'LimitRequestBody' problem, I had to set it in the files scope:
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 11000000
</Files>
Setting it in the global/directory/.htaccess scope has no effect.
Thanx for the help
Now I can enjoy my WiKi.
Regards and a nice weekend;-)
Klaus
-----Urspr?ngliche Nachricht-----
Von: Patrick R. Michaud [mailto:pmichaud at pobox.com]
Gesendet: Freitag, 9. Januar 2004 15:20
An: Klaus Olszowi
Cc: lists at basel-inside.ch; 'PmWiki Users'
Betreff: Re: [Pmwiki-users] File Upload with big files
On Fri, Jan 09, 2004 at 10:16:02AM +0100, Klaus Olszowi wrote:
> > Quoting Klaus Olszowi <olszowi at docufy.de>:
> > > I'm new to PmWiKi and I have problems uploading big files (> 500k,
> > > pdf
> > > for example). The Mozilla 1.5 response 'document contains no data'
> > > after pressing the upload button.
>
> The server is in the DMZ connected with an 100MBit line. The server is
> running RH 9. There is no timeout problem, the response of the mozille
> takes 0.1 sec. I changed also the 'LimitRequestBody' to 1024000000.
Hmm, my first inclination was to suspect the LimitRequestBody, since by
default it's distributed with Red Hat 9 with a limit of 512K. But you've
already taken care of that. Just to verify...did you restart the httpd
service after changing the LimitRequestBody? I often forget that step.
> Can the 'https' protocol can a problem.
I'm not terribly familiar with https: to know if it'd be a problem, but can
you try the upload feature using normal http: to perhaps eliminate
that as a problem? Also make sure that "SSLOptions +StdEnvVars" is set for
.php files or for the directory containing your wiki installation.
> Maybe my local.php file is helpful:
>
> $UploadMaxSize = 10000000;
> $UploadExtSize['gif'] = 10000000;
> $UploadExtSize['jpeg'] = 10000000;
> $UploadExtSize['jpg'] = 10000000;
> [...]
If you set $UploadMaxSize to 1000000, it's not necessary to set the sizes
for the individual extensions unless they are different from $UploadMaxSize.
Pm
More information about the pmwiki-users
mailing list