Re: Filter on top of a CGI script

[prev] [thread] [next] [Date index for 2005/03/23]

From: Scott Gifford
Subject: Re: Filter on top of a CGI script
Date: 05:50 on 23 Mar 2005
Thanks for you response, Slava.  More below...

Slava Bizyayev <sbizyaye@xxxxxxx.xxx> writes:

> Hi Scott,
>
> As far as I understand, your handler Apache::SiteMoved does all the
> dirty work for you on Apache-1, replacing the hostname. 

Yes.

> Additionally, you want your CGI script to remain as a CGI for some
> reason.

Yes.  I'll install it under mod_perl when it's working and debugged on
the new server.

> In this case you can happily live with no Filter chain. Just take
> the input of your handler through the pipe.

From a pipe where?  In my CGI script?

I actually managed to fix this by stealing a bunch of code from
Apache::Dynagzip, which basically re-implements the CGI handler in
Perl.  It seems kind of hackish, but it works!  At least well enough
to get me through this testing.

Thanks!

----ScottG.

Filter on top of a CGI script
Scott Gifford 20:12 on 22 Mar 2005

Re: Filter on top of a CGI script
Slava Bizyayev 22:10 on 22 Mar 2005

Re: Filter on top of a CGI script
Scott Gifford 05:50 on 23 Mar 2005

Generated at 15:10 on 27 Mar 2005 by mariachi v0.52