Lucien GENTIS a écrit : > Lucien GENTIS a écrit : > >> Hi, >> >> Whith Horde 3.1.4 and IMP 4.1.4 >> >> I have in my php.ini : >> post_max_size = 8M >> upload_max_filesize = 4M >> >> When I try to send a message with an attachement whose size is >= 1 Mb, >> I get this message in send window : >> >> >> Request Entity Too Large >> >> The requested resource >> /horde/imp/compose.php >> does not allow request data with POST requests, or the amount of data >> provided in the request exceeds the capacity limit. * Copyright >> 1999-2007 Jon Parise * Copyright 2002-2007 Michael Slusarz * * See the >> enclosed file COPYING for license information (GPL). If you * did not >> receive this file, see http://www.fsf.org/copyleft/gpl.html. */ /** * >> Determines the actionID. */ function _getActionID() { if (!($aid = >> Util::getFormData('actionID'))) { foreach (array('send_message', >> 'save_draft', 'cancel_compose', . . . >> >> Following is displayed content of /horde/imp/compose.php >> >> Sending an attachement of 998 kb causes no problem >> >> Thanks for help >> >> Lucien >> >> >> >> >> > OK I must say STAND BY for this question : problem is apparently caused > by Apache and/or module mod_security configurations. > > I'll come back when I'll have solved the problem > > Lucien > > So I had "LimitRequestBody 1048576" in my httpd.conf (in pupose of security), which limited attachment size to 1 Mb.
I have set it to 2097152, so bigger attachment, but less security ! Lucien -- Lucien GENTIS IUFM de Lorraine Centre de Ressources Informatiques 5, Rue Paul Richard C.O. 3 - MAXEVILLE 54528 LAXOU-CEDEX Tél. 03 83 17 68 41 Email : [EMAIL PROTECTED] -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [EMAIL PROTECTED]
