Re: internal_redirect & ModPerlRegistr

2007-03-26 Thread Malcolm J Harwood
On Monday 26 March 2007, Anthony Gardner wrote: > This is MP2 ... actually RHE 1.99. We have compiled a test MP2 but > still get seg faults. Ah, that's possibly not actually MP2. RH shipped a pre-release version of MP, and there were a lot of changes and bug fixes after that point (includ

Re: internal_redirect & ModPerlRegistr

2007-03-26 Thread Anthony Gardner
This is MP2 ... actually RHE 1.99. We have compiled a test MP2 but still get seg faults. Am not at work now but will look at this further tomorrow. Torsten Foertsch <[EMAIL PROTECTED]> wrote: On Monday 26 March 2007 17:51, Anthony Gardner wrote: > As for the $r, it's coming from Apac

Re: internal_redirect & ModPerlRegistr

2007-03-26 Thread Fred Moyer
Perrin Harkins wrote: On 3/26/07, Torsten Foertsch <[EMAIL PROTECTED]> wrote: switch to mp2. It's much more stable. I'm not aware of any stability issues in mp1. Switch to mp2 if you want the new features. You don't need to switch for stability. In addition to new features, there is a spee

Re: internal_redirect & ModPerlRegistr

2007-03-26 Thread Perrin Harkins
On 3/26/07, Torsten Foertsch <[EMAIL PROTECTED]> wrote: switch to mp2. It's much more stable. I'm not aware of any stability issues in mp1. Switch to mp2 if you want the new features. You don't need to switch for stability. - Perrin

Re: internal_redirect & ModPerlRegistr

2007-03-26 Thread Torsten Foertsch
On Monday 26 March 2007 17:51, Anthony Gardner wrote: >  As for the $r, it's coming from Apache->request() So, it's mp1 then. Set PerlSendHeader to On then try the approach given in my previous mail. I don't know for sure because I have switched to mp2 several years ago. >  but we are > experi

Re: internal_redirect & ModPerlRegistr

2007-03-26 Thread Perrin Harkins
On 3/26/07, Torsten Foertsch <[EMAIL PROTECTED]> wrote: Not entirely true, a CGI script (mod_cgid?) can generate an internal redirect saying Status: 200 Location: /path/to/other.html Both mod_cgi and mod_cgid contain this code: if (location && location[0] == '/' && r->status == 200) {

Re: internal_redirect & ModPerlRegistr

2007-03-26 Thread Anthony Gardner
The script is running under ModPerlRegistry but nothing is happening. After posting this problem, I read that internal_redirect can only be called from a content handler. So, am I right in now thinking, because my cgi script gets wrapped by a handler, it's considered a content handler? If so

Re: internal_redirect & ModPerlRegistr

2007-03-26 Thread Torsten Foertsch
On Monday 26 March 2007 16:57, Perrin Harkins wrote: > On 3/26/07, Anthony Gardner <[EMAIL PROTECTED]> wrote: > > Can I only use internal_redirect in handlers or is it possible to use it > > within a cgi script calling another cgi script? > > If by "CGI script" you mean something running ModPerl::R

Re: internal_redirect & ModPerlRegistr

2007-03-26 Thread Perrin Harkins
On 3/26/07, Anthony Gardner <[EMAIL PROTECTED]> wrote: Can I only use internal_redirect in handlers or is it possible to use it within a cgi script calling another cgi script? If by "CGI script" you mean something running ModPerl::Registry, then yes, it works fine. If you mean a perl program c