Intranet - Add MARC Record - Error 500 [SOLVED]
Hi! This is an informative post, because never before I write about this error (I had it and I solved it), but can be useful for another users: I have a fresh Koha 3 [3.00.00.107] install in a GNU/Linux Fedora 9 server, running over Apache 2 (daemon httpd), MySQL 5.0.51a, Perl 5.010.000. I go to the Koha-Intranet, login and try to 'Add MARC Record': koha give me an 'Error 500'. I saw the koha log (/var/log/koha/koha-error_log) and the last line contains ... ModSecurity: Output filter: Response body too large (over limit of 524288, total not specified) ... I find by google the solution in: [es - spanish] http://hostingaldescubierto.com/wordpress/2008/04/15/modsecurity-output- filter-response-body-too-large/. mod_security is an Apache module for enhanced security. This module let block the http-response more large than xxx bytes. And this is the problem. In a Fedora 9 default configuration, these are the settings: [ in /etc/httpd/modsecurity.d/modsecurity_crs_10_config.conf ] SecRequestBodyAccess On SecResponseBodyAccess On SecResponseBodyMimeType (null) text/html text/plain text/xml SecResponseBodyLimit 524288 The 'Add MARC record' page (http://intranet.koha/cgi-bin/koha/cataloguing/addbiblio.pl) have a size over 937,71 KB (960.211 bytes) [firefox say] and the limit setted by mod_security is 524.288 bytes. Only need change this value for another larger, or set to 'Off' the option 'SecResponseBodyAccess' Iago Lorenzo Salgueiro TIC ilorenzo@cetmar.org
Thanks for report this. This will certainly affect any Fedora 9 users and is something to include in an eventual INSTALL.fedora9 guid. --Joe On Fri, Dec 5, 2008 at 6:30 AM, Iago Lorenzo Salgueiro <ilorenzo@cetmar.org>wrote:
Hi!
This is an informative post, because never before I write about this error (I had it and I solved it), but can be useful for another users:
I have a fresh Koha 3 [3.00.00.107] install in a GNU/Linux Fedora 9 server, running over Apache 2 (daemon httpd), MySQL 5.0.51a, Perl 5.010.000.
I go to the Koha-Intranet, login and try to 'Add MARC Record': koha give me an 'Error 500'. I saw the koha log (/var/log/koha/koha-error_log) and the last line contains
... ModSecurity: Output filter: Response body too large (over limit of 524288, total not specified) ...
I find by google the solution in: [es - spanish] http://hostingaldescubierto.com/wordpress/2008/04/15/modsecurity-output-filt... . mod_security is an Apache module for enhanced security. This module let block the http-response more large than xxx bytes. And this is the problem. In a Fedora 9 default configuration, these are the settings:
[ in /etc/httpd/modsecurity.d/modsecurity_crs_10_config.conf ] SecRequestBodyAccess On SecResponseBodyAccess On SecResponseBodyMimeType (null) text/html text/plain text/xml SecResponseBodyLimit 524288
The 'Add MARC record' page ( http://intranet.koha/cgi-bin/koha/cataloguing/addbiblio.pl) have a size over 937,71 KB (960.211 bytes) [firefox say] and the limit setted by mod_security is 524.288 bytes. Only need change this value for another larger, or set to 'Off' the option 'SecResponseBodyAccess'
Iago Lorenzo Salgueiro TIC ilorenzo@cetmar.org
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
Iago Lorenzo Salgueiro -
Joe Atzberger