-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thorsten,

Thorsten Hodes wrote:
| How can I restrict the maximum filesize for webdav

I looked through the code for WebdavServlet and I didn't see anywhere
that the size of the file was being checked at all, so I don't think
there's any configuration you can add to the Webdav servlet itself to
affect this.

| How can I do this? Is there a way...I currently use tomcat 5.5.26...

It looks like you either have to extend the existing WebdavServlet and
add your own checking, or you could potentially add a Filter to requests
that will be handled by the WebdavServlet that first checks the
Content-Length of the request and bails out before the WebdavServlet
runs at all.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkg3DkYACgkQ9CaO5/Lv0PALQwCbBVrCnU7/nQG6NYw6wzucAoSt
vVYAnRuRCn0xl8Hgw/oFPHjl3ySt1RAa
=n7eQ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to