> And this works like a charm (the content on the php-script is parsed and
> executed), except for the headers. I don't get any headers generated
> from the php-script. Is there any way of getting them through to the
> user?

oooh!

sorry, I totally misread what you were trying to do - print headers from
within the subrequest, not have mod_perl or apache send the headers for you.
 gotcha now.

ok, then I think you're right - this probably won't work.  the only thing I
can think of is setting

  PerlOptions -ParseHeaders

in httpd.conf and see if that makes a difference.  basically you're looking
for the equivalent of php nph scripts at this point.

however, I have an alternative for you.  if you're just using your mod_perl
PerlResponseHandler to dispatch to php you could just use

  $r->internal_redirect("/index.php?a=1&b=2")

and let php pick up the script naturally.

HTH

--Geoff

Reply via email to