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_
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.
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
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
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)->
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) (
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
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:
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