Hi Pritesh,

> Sorry for replying you late and many thanks for the solution. It has
> really made my scripts working(or should I say running) well in
> mod_perl.

> But is this pure implementation of mod_perl, when I put
> PerlSendHeader On in <Location>?

I think this is the only way to go if you are porting or writing a CGI
script that creates its own HTTP header.
On the other hand if you are writing code directly for mod_perl you
should use the interface of the request object, i.e. $r->send_http_header.
I'm not quite sure, however, since I have not yet written a mod_perl
handler. I'm currently using mod_perl only to speed up my CGI scripts.
This way they stay independent of Apache and mod_perl.

-- Axel.


Reply via email to