[Koha] Intranet - Add MARC Record - Error 500 [SOLVED]

Iago Lorenzo Salgueiro ilorenzo at cetmar.org
Sat Dec 6 00:30:53 NZDT 2008


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 at cetmar.org

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20081205/50a09506/attachment-0001.htm 


More information about the Koha mailing list