[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
internal_redirect & ModPerlRegistry
- Subject: internal_redirect & ModPerlRegistry
- Date: Mon, 26 Mar 2007 15:11:55 +0100 (BST)
- From: Anthony Gardner <suppressed>
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.
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.