RE: [users@httpd] apache adds extra HTML to an error page

2012-07-19 Thread Ruud Dozijn
From: rdoz...@hotmail.com To: users@httpd.apache.org Date: Mon, 9 Jul 2012 17:04:07 +0200 Subject: [users@httpd] apache adds extra HTML to an error page hello list, I am trying to migrate a perl script that acts as a webserver from solaris to linux (red hat). The script is run using apache (

RE: [users@httpd] apache changes status code from 500 to 200

2012-07-11 Thread Ruud Dozijn
> Firstly, it turns out that it isn't a CGI script but rather a mod_perl2 > registry script - different beast entirely. And given that, I'm > surprised that you aren't using > > PerlOptions +ParseHeaders > > as suggested in the docs at > http://perl.apache.org/docs/2.0/user/intro/start_fa

RE: [users@httpd] apache changes status code from 500 to 200

2012-07-11 Thread Ruud Dozijn
From: rdoz...@hotmail.com To: users@httpd.apache.org Date: Wed, 11 Jul 2012 12:33:49 +0200 Subject: RE: [users@httpd] apache changes status code from 500 to 200 > Sounds like you want mod_asis: > http://httpd.apache.org/docs/2.4/mod/mod_asis.html I have put this in my httpd.conf: Se

RE: [users@httpd] apache changes status code from 500 to 200

2012-07-11 Thread Ruud Dozijn
> Sounds like you want mod_asis: > http://httpd.apache.org/docs/2.4/mod/mod_asis.html I have put this in my httpd.conf: SetHandler perl-script PerlHandler ModPerl::Registry Options ExecCGI ErrorDocument 400 /handlers/400.h SetHandler send-as-is I can see that the ment

RE: [users@httpd] apache adds extra HTML to an error page

2012-07-10 Thread Ruud Dozijn
oops, sent reply to individual user instead of list... > Original Message > > Date: Monday, July 09, 2012 05:04:07 PM +0200 > > From: Ruud Dozijn > > To: users@httpd.apache.org > > Subject: [users@httpd] apache adds extra HTML to an error p

[users@httpd] apache adds extra HTML to an error page

2012-07-09 Thread Ruud Dozijn
hello list, I am trying to migrate a perl script that acts as a webserver from solaris to linux (red hat). The script is run using apache (httpd) and mod_perl. It nearly does what it is supposed to, exept for the error pages. When an error occurs and the script can not fulfill the request, it s