Re: headers_out vs err_headers_out with temporary redirect 302

2012-09-05 Thread Torsten Förtsch
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

headers_out vs err_headers_out with temporary redirect 302

2012-09-04 Thread Anton Petrusevich
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

Re: headers_out

2007-12-03 Thread Woff3
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

Re: headers_out

2007-12-03 Thread Woff3
; 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.

Re: headers_out

2007-12-02 Thread Philippe M. Chiasson
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

Re: headers_out

2007-12-01 Thread adam . prime
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

Re: headers_out

2007-12-01 Thread Roberto C . Sánchez
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

headers_out

2007-12-01 Thread Woff3
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.

Re: err_headers_out vs headers_out

2003-10-18 Thread Geoffrey Young
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

Re: err_headers_out vs headers_out

2003-10-18 Thread Tofu Optimist
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

Re: err_headers_out vs headers_out

2003-10-18 Thread Ged Haywood
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

Re: err_headers_out vs headers_out

2003-10-18 Thread Tofu Optimist
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->

Re: err_headers_out vs headers_out

2003-10-18 Thread John Siracusa
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

Re: err_headers_out vs headers_out

2003-10-18 Thread Ged Haywood
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

err_headers_out vs headers_out

2003-10-18 Thread Tofu Optimist
[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