Re: problems with uploads to wordpress

Steve Holdoway <[email protected]> Wed, 07 Dec 2011 18:40:35 +1300
Newsgroups gmane.org.user-groups.linux.new-zealand.general
Organization Green Gecko Global Ltd.
Message-ID <1323236435.2394.40.camel@steve-desktop>
--===============0072867246==
Content-Type: multipart/signed; micalg="sha1";
	protocol="application/x-pkcs7-signature";
	boundary="=-B4FMzLLyvhk3WxX8wQr8"


--=-B4FMzLLyvhk3WxX8wQr8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, 2011-12-06 at 13:23 +1300, Robin Paulson wrote:
> On Tue, 06 Dec 2011 13:03:49 +1300, Steve Holdoway wrote:
> > On Tue, 2011-12-06 at 12:48 +1300, Martin D Kealey wrote:
> >> Of course, you may allow compression as well, in which case (if the=20
> >> client
> >> and server agree) the ratio may be 0.33 or less.
> >
> > As the OP was talking .xpi files, which are basically .zip archives,=20
> > the
> > compression will be effectively zero...
>=20
>  true, but it's always good to see martin's incredibly detailed and=20
>  comprehensive explanations
>=20
These is another possibility. The LimitRequestBody can restrict file
size too... eg

<Directory [docroot]/wp-uploads>
	LimitRequestBody 2097152
</Directory>

in either httpd.conf or .htaccess will limit wordpress uploads to 2MB.

--=20
Steve Holdoway BSc(Hons) MNZCS <[email protected]>
http://www.greengecko.co.nz
MSN: [email protected]
Skype: sholdowa

--=-B4FMzLLyvhk3WxX8wQr8--



--===============0072867246==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
NZLUG mailing list [email protected]
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug

--===============0072867246==--