does anyone know how to get the output of a standalone cgi script from a
mod_perl module
I have tried all the subrequest stuff but I can't get it to work.
Apache seems to parse the cgi file once a handler has been called. simply
writing a handler that returns DECLINED every time it is called like so:
package LameModule;
use Apache::Constants qw(:common);
sub handler {
my $r = shift;
return DECLINED;
}
with a config entry like so:
<Files ~ "\.cgi$">
SetHandler perl-script
PerlHandler LameModule
</Files>
will always parse the cgi file as text instead of just declining to handle
it and letting the cgi do its thing. Any ideas on how to get this cgi to
write some output to STDOUT even when a Handler has been called for its
file extension?
thanx,
-amen