Tags:
create new tag
, view all tags
Page redirection does not work on some systems (depending on the environment), i.e. the thank you page is not shown after registering a user, it just times out. (Reported by AriehMarkel? and WolfgangSteinke.)

Cause: TWiki 01 May 2000 uses only the URL path (excluding host name) for the redirect command. Some Perl environments require a complete URL (including host name).

Fix:

  1. Add the host name to sub viewUrl in file wiki.pm as described in MissingScriptSuffix:
    return "$urlHost$scriptUrlPath/view$scriptSuffix/$webName/$topic";
    Note: The TWiki core has been fixed on 24 May 2000.

  2. Grep for redirect and add the host name to all redirect commands that call the oops script. Example:
    print $query->redirect( "$wiki::urlHost$scriptUrlPath/oops$scriptSuffix/$webName/$topic?template=oopsregexist&param1=$wikiName" );
    Note: The TWiki core needs to be fixed. Best to create a new sub oopsUrl so that one can call print $query->redirect( &wiki::oopsUrl( $webName, $topic, $oopsTemplate, $param1, $param2 ) );

-- PeterThoeny - 20 Jun 2000

Fixed TWiki Alpha, commited to CVS.

-- PeterThoeny - 21 Jun 2000

TopicClassification:
BugResolved
Topic revision: r2 - 22 Jun 2000 - 02:31:12 - PeterThoeny
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback