Thanks for report this. This will certainly affect any Fedora 9 users and is something to include in an eventual INSTALL.fedora9 guid.<br>--Joe<br><br><br><div class="gmail_quote">On Fri, Dec 5, 2008 at 6:30 AM, Iago Lorenzo Salgueiro <span dir="ltr"><<a href="mailto:ilorenzo@cetmar.org">ilorenzo@cetmar.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><font face="Arial" size="2"><span>Hi!</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span> 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:</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span> I have a fresh
Koha 3 [<a href="http://3.00.00.107" target="_blank">3.00.00.107</a>] install in a GNU/Linux Fedora 9
server, running over Apache 2 (daemon httpd), MySQL 5.0.51a, Perl
<a href="http://5.010.000." target="_blank">5.010.000.</a></span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span> 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</span></font></div>
<blockquote dir="ltr" style="margin-right: 0px;">
<div><font color="#808080" face="Arial" size="2"><span>...
ModSecurity: Output filter: Response body too large (over limit of 524288,
total not specified) ...</span></font></div></blockquote>
<div dir="ltr" style="margin-right: 0px;"><font color="#808080" face="Arial" size="2"><span> <font color="#000000"> I find by
google the solution in: [es - spanish] <a href="http://hostingaldescubierto.com/wordpress/2008/04/15/modsecurity-output-filter-response-body-too-large/" target="_blank">http://hostingaldescubierto.com/wordpress/2008/04/15/modsecurity-output-filter-response-body-too-large/</a>. <br>
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:</font></span></font></div>
<blockquote dir="ltr" style="margin-right: 0px;">
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span>[ in
/etc/httpd/modsecurity.d/modsecurity_crs_10_config.conf
]</span></font></div>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span>SecRequestBodyAccess On<br>SecResponseBodyAccess
On<br>SecResponseBodyMimeType (null) text/html text/plain
text/xml<br>SecResponseBodyLimit 524288</span></font></div></blockquote>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span> The 'Add MARC record' page
(<a href="http://intranet.koha/cgi-bin/koha/cataloguing/addbiblio.pl" target="_blank">http://intranet.koha/cgi-bin/koha/cataloguing/addbiblio.pl</a>) have a size
over 937,71 KB (960.211 bytes) [firefox say] and the limit setted by
mod_security is 524.288 bytes. </span></font></div>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span> Only need change this value for another larger,
or set to 'Off' the option 'SecResponseBodyAccess'</span></font></div>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span></span></font> </div>
<p align="left"><span style="font-size: 9pt; color: rgb(170, 189, 38); font-family: 'Century Gothic';">Iago
Lorenzo Salgueiro<br>TIC<br><a href="mailto:ilorenzo@cetmar.org" target="_blank">ilorenzo@cetmar.org</a></span></p>
<div> </div></div>
<br>_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br>