[ic] No CGI->{mv_nextpage} value in Autoload

Bill Carr bill at bottlenose-wine.com
Sat Apr 5 16:26:12 CDT 2008


On Apr 4, 2008, at 7:11 PM, Peter wrote:

> On 04/04/2008 09:22 AM, Bill Carr wrote:
>> Hi,
>>
>> I'm running Interchange 5.4.1, Apache 1.3.37, mod_interchange
>>
>> I have following in my catalog.cfg:
>> Autoload <<EOA
>> [perl global=1]
>> 	::logDebug('NEXTPAGE: ' . $CGI->{mv_nextpage});
>> [/perl]
>> EOA
>>
>> I don't get any value for $CGI->{mv_nextpage} in my debug log. I just
>> get 'NEXTPAGE:'.
>>
>> Any ideas why that could be or other ways to do page redirects within
>> Interchange? My example above is simplified. What I ultimately would
>> like to do is redirect to the home page of the site if the user is
>> following a link to an old obsolete page. The search engines have
>> links to pages we do not use anymore.
>
> Why not simply replace the old pages with a one line page:
> [bounce page=index]
>
> ...and add this near the top of your flypage.html:
> [bounce page=index if="[item-field inactive]"]
Thanks for the suggestion but that does not sound as simple as doing  
the redirect with the Autoload.

Racke had it right. The $Session->{last_url} is working fine.


Bill Carr
bill at bottlenose-wine.com






More information about the interchange-users mailing list