RE: Intercepting CGI.pm Header

1999-12-06 Thread Gerald Richter
> > I could easly solve the problem by modifing the CGI script, > but I don't want to change it, because I didn't wrote it. > > Problem is both the CGI script and the my mod_perl-handler send > a header. > CGI::header call send_cgi_header of the Apache module when it runs under mod_perl. So setup

Re: Intercepting CGI.pm Header

1999-12-06 Thread Jeff Beard
Do you have 'PerlSendHeader On' in your httpd.conf? --Jeff At 02:21 PM 12/6/99 +0100, Martin Holz wrote: >I am trying to catch the output of a CGI >script and put the body of the generated >HTML page in a template. > >Works fine unless the CGI script calls CGI::header. >If the scripts calls CGI

Re: Intercepting CGI.pm Header

1999-12-06 Thread Ken Y. Clark
On 6 Dec 1999, Martin Holz wrote: > "Ken Y. Clark" <[EMAIL PROTECTED]> writes: > > > On 6 Dec 1999, Martin Holz wrote: > > > > > > > > I am trying to catch the output of a CGI > > > script and put the body of the generated > > > HTML page in a template. > > > > > > Works fine unless the CGI

Re: Intercepting CGI.pm Header

1999-12-06 Thread Martin Holz
"Ken Y. Clark" <[EMAIL PROTECTED]> writes: > On 6 Dec 1999, Martin Holz wrote: > > > > > I am trying to catch the output of a CGI > > script and put the body of the generated > > HTML page in a template. > > > > Works fine unless the CGI script calls CGI::header. > > If the scripts calls CGI:

Re: Intercepting CGI.pm Header

1999-12-06 Thread Ken Y. Clark
On 6 Dec 1999, Martin Holz wrote: > > I am trying to catch the output of a CGI > script and put the body of the generated > HTML page in a template. > > Works fine unless the CGI script calls CGI::header. > If the scripts calls CGI::header, two headers > are sent, the first by Apache::Registry

Intercepting CGI.pm Header

1999-12-06 Thread Martin Holz
I am trying to catch the output of a CGI script and put the body of the generated HTML page in a template. Works fine unless the CGI script calls CGI::header. If the scripts calls CGI::header, two headers are sent, the first by Apache::Registry/CGI.pm, the second by my own content handler. Ap