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
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2000-06-22 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.