On 09/03/2012 03:59 PM, Anton Petrusevich wrote:
>> From the doc:
> === The difference between headers_out and err_headers_out, is that
> the latter are printed even on error, and persist across internal
> redirects (so the headers printed for ErrorDocument handlers will
> ha
Hello,
>From the doc:
===
The difference between headers_out and err_headers_out, is that the latter are
printed even on error, and persist across internal redirects (so the headers
printed for ErrorDocument handlers will have them).
===
It's still unclear to me what to use for tempo
Yes, Apache2::compat did the job.
Adam Prime wrote:
>
> Roberto C. Sánchez wrote:
>>
>> Have you tried adding "PerlModule Apache2::compat" in your httpd.conf?
>>
>
> Or you can use $r->headers_out. $r->header_out is no longer supported.
&g
; Have you tried adding "PerlModule Apache2::compat" in your httpd.conf?
>
> Regards,
>
> -Roberto
> --
> Roberto C. Sánchez
> http://people.connexer.com/~roberto
> http://www.connexer.com
>
>
>
--
View this message in context:
http://www.nabble.com/headers_out-tf4928260.html#a14133279
Sent from the mod_perl - General mailing list archive at Nabble.com.
Woff3 wrote:
> Hi.
>
> I had Apache 2.0 and mod_perl.
You possibly meant Apache 1.3.xx and mod_perl-1.xx ?
> Now I upgraded to Apache 2.2.6 and mod_perl2.
>
> I have html-pages where I use mason code.
>
> [code]
> $r->header_out("Refresh" => "5; url=$url");
> This code worked fine in my previo
Roberto C. Sánchez wrote:
Have you tried adding "PerlModule Apache2::compat" in your httpd.conf?
Or you can use $r->headers_out. $r->header_out is no longer supported. see:
http://perl.apache.org/docs/2.0/user/porting/compat.html#C__r_E_gt_err_header_out_
Adam
On Sat, Dec 01, 2007 at 05:56:31AM -0800, Woff3 wrote:
>
> Hi.
>
> I had Apache 2.0 and mod_perl.
>
> Now I upgraded to Apache 2.2.6 and mod_perl2.
>
> I have html-pages where I use mason code.
>
> [code]
> $r->header_out("Refresh" => "5; url=$url");
> This code worked fine in my previous syst
e2::DBI
PerlModule HTML::Mason::ApacheHandler
PerlModule Apache2::Request
PerlModule Config2::IniFiles
[/code]
Does someone information, how I could fix this problem?
--
View this message in context:
http://www.nabble.com/headers_out-tf4928260.html#a14105449
Sent from the mod_perl - General mailing list archive at Nabble.com.
Tofu Optimist wrote:
I missed the reference to Recipe 3.13.
That was right on target.
Thanks.
I am interpreting that recipe to mean
"when setting the HTTP header fields for a redirect,
always use err_headers_out, except when setting
location, which is a special case, and may use
header
I missed the reference to Recipe 3.13.
That was right on target.
Thanks.
I am interpreting that recipe to mean
"when setting the HTTP header fields for a redirect,
always use err_headers_out, except when setting
location, which is a special case, and may use
headers_out".
Holler i
Hello again,
On Sat, 18 Oct 2003, Tofu Optimist wrote:
> Hmmm... I had read that thread; none of the postings
> address setting anything beyond a cookie.
Hmmm... in the message to which I pointed, did you also read
"/me sliently points to recipe 3.13 in the cookbook, too :)"
which addresses
Hmmm... I had read that thread; none of the postings
address setting anything beyond a cookie.
I'm looking for advice on something like this
sub cookie_and_redirect {
my ( $r, $cookie, $dest ) = @_;
$r->headers_out->set( Location => $dest );
$r->headers_out->
On 10/18/03 11:18 AM, Ged Haywood wrote:
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg36041.html
Whoop, I think this is the post I was looking for earlier :)
http://ken.coar.org/burrow/index?month=2003-07#511
-John
Hi there,
On Sat, 18 Oct 2003, Tofu Optimist wrote:
> [1] When should one use err_headers_out and when
> should one use headers_out?
http://www.mail-archive.com/[EMAIL PROTECTED]/msg36041.html
> [2] Also, what is the difference between the 'set' and
> 'add' me
[1] When should one use err_headers_out and when
should one use headers_out? I know when redirecting
the former is used for Set-Cookie and the later is
used for Location (Practical Mod Perl p. 756), but
what about cache control, p3p, etc? (code fragment
below)
[2] Also, what is the difference
15 matches
Mail list logo