You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Anton Permyakov <an...@mail.ru> on 2003/09/12 13:41:12 UTC
Errors in my scripts cause apache getting strange...
Hi all,
I use Apache 1.3.26, mod_perl 1
I use Apache directive
ErrorDocument 500 /error500.html
So, if any errors occure, my web-site inform it in nice form (showing page
/error500.html).
But suddenly i change something in my scripts and now, when error happens,
Apache do not give me /error500.html page, but instead of it apache gets
output like this:
Л
IkЙHё{бЕ9`▒с╩з<К╪ГжИъz4>'7ч╫г!?INдЖяn╞гЫёРЮзйеIE~G┼у!эh?Рr▌Йx╠К╘┤C
OЗх|┬╣!─<
and so on....
My browser tries to save or open it (it means ContentType is not text/html)
It happens whith errors like this:
[Fri Sep 12 17:16:16 2003] [error] Can't call method "commit" on an
undefined value at /usr/local/apache-new/htdocs/lib/perl/Model/profile.pl
line 94.
it seems like usual error...
What does it mean?
Where is the reason? I want apche to show me /error500.html again on errors!
Thanks,
Anton Permyakov.