Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
internal_redirect & ModPerlRegistry
 

Index | Next | Previous | View Flat


cyclewood_ltd at yahoo

Mar 26, 2007, 7:11 AM


Views: 6093
Permalink
internal_redirect & ModPerlRegistry

Can I only use internal_redirect in handlers or is it possible to use it within a cgi script calling another cgi script? All the docs I've seen have used handlers ......... I want to do something different ;)

As you know, OK has to be returned immediatly after the internal_redirect so that's telling me it's only used in handlers :(

I need to incorporate the output from the internal call into the contents of the external call.

I've tried internal_redirect but nothing is returned and the called script isn;t entered.

Or, is there another way to achieve the same thing without going through the outside world?

Any help would be greatly appreciated.

Here's a snippet of the offending code.

my $r = $self->_request_rec();
my $server_root = $self->server_root();
my $faq_path = $server_root . '/' . $path;

my $ret = $r->internal_redirect( $faq_path );


CIA

-Ants




---------------------------------
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.

Subject User Time
internal_redirect & ModPerlRegistry cyclewood_ltd at yahoo Mar 26, 2007, 7:11 AM
    Re: internal_redirect & ModPerlRegistry cyclewood_ltd at yahoo Mar 26, 2007, 7:20 AM
    Re: internal_redirect & ModPerlRegistr pharkins at gmail Mar 26, 2007, 7:57 AM
        Re: internal_redirect & ModPerlRegistr torsten.foertsch at gmx Mar 26, 2007, 8:47 AM
            Re: internal_redirect & ModPerlRegistr cyclewood_ltd at yahoo Mar 26, 2007, 8:51 AM
            Re: internal_redirect & ModPerlRegistr pharkins at gmail Mar 26, 2007, 9:10 AM
            Re: internal_redirect & ModPerlRegistr torsten.foertsch at gmx Mar 26, 2007, 9:11 AM
                Re: internal_redirect & ModPerlRegistr pharkins at gmail Mar 26, 2007, 9:31 AM
                Re: internal_redirect & ModPerlRegistr cyclewood_ltd at yahoo Mar 26, 2007, 9:55 AM
                    Re: internal_redirect & ModPerlRegistr mjhlists-modperl-20060801 at liminalflux Mar 26, 2007, 5:50 PM
            Re: internal_redirect & ModPerlRegistr fred at redhotpenguin Mar 26, 2007, 9:53 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.