Re: Redirects and Cache-Control

2009-04-09 Thread Dondi M. Stroma
Justin Wyllie wrote: I am trying to use: $headers = $r->headers_out; $r->no_cache(1); $headers->set( Location => url ); return REDIRECT. You didn't specify your Apache/mod_perl version. For 2.x this is what I have and it works fine: $r->no_cache(1); $r->status(Apache2::Const::HTTP_MOVED_

Re: Redirects and Cache-Control

2009-04-09 Thread Adam Prime
Justin Wyllie wrote: Hi I am trying to use: $headers = $r->headers_out; $r->no_cache(1); $headers->set( Location => url ); return REDIRECT. The first problem is this does not set the Cache-Control header. If instead of the redirect I output some content (200 ) then it does, correctly.

Redirects and Cache-Control

2009-04-09 Thread Justin Wyllie
Hi I am trying to use: $headers = $r->headers_out; $r->no_cache(1); $headers->set( Location => url ); return REDIRECT. The first problem is this does not set the Cache-Control header. If instead of the redirect I output some content (200 ) then it does, correctly. Is there some reason why th

Re: how did I get here?

2009-04-09 Thread E R
On Wed, Apr 8, 2009 at 3:23 PM, Andy Armstrong wrote: > > On Solaris and Mac OS you could actually use a dtrace-enabled Perl. You only > get sub entry / exit but you can infer a call graph from that. Thanks for the pointer to dtrace perl on Mac OS - now I've got a good reason to upgrade to Leopa

Re: generic question on input filters

2009-04-09 Thread André Warnier
Torsten Foertsch wrote: On Thu 09 Apr 2009, André Warnier wrote: I have the impression that I am getting this Apache error : [Wed Apr 08 22:46:22 2009] [crit] [Wed Apr 08 22:46:22 2009] file http_filters.c, line 1324, assertion "!(((&(bb)->list))->next == (struct apr_bucket *)((char *)((&(bb)->

Re: generic question on input filters

2009-04-09 Thread Torsten Foertsch
On Thu 09 Apr 2009, André Warnier wrote: > I have the impression that I am getting this Apache error : > > [Wed Apr 08 22:46:22 2009] [crit] [Wed Apr 08 22:46:22 2009] file > http_filters.c, line 1324, assertion "!(((&(bb)->list))->next == > (struct apr_bucket *)((char *)((&(bb)->list)) - ((long) (

Re: generic question on input filters

2009-04-09 Thread André Warnier
Torsten Foertsch wrote: On Thu 09 Apr 2009, André Warnier wrote: Suspicion : I cannot read the content, and print nothing when I am called. Instead of accumulating the content and process it all at once at the end, should I process it chunk by chunk ? yes, as I said in my previous mail, do it

Re: mod_perl conf test

2009-04-09 Thread sandhya pawar
It is the typo in my email.. On Thu, Apr 9, 2009 at 10:12 AM, Jeff Soules wrote: > > and put the following lines in C:\Program Files\Apache Software > > Foundation\Apache2.2\conf\httpd.conf > > > > PerlModule Apache2::Hello > > > > SetHandler modperl > > PerlResponseHandler Apache2:

Re: generic question on input filters

2009-04-09 Thread Torsten Foertsch
On Thu 09 Apr 2009, André Warnier wrote: > Suspicion : I cannot read the content, and print nothing when I am > called.  Instead of accumulating the content and process it all at > once at the end, should I process it chunk by chunk ? yes, as I said in my previous mail, do it chunkwise. > Is it O