Tags:
create new tag
view all tags
SCRIPTURL is not set correctly in the registration page. Here is an example from TWiki.org's registration page:

The action line reads:

form action="http://TWiki.org/cgi-bin/edit/Codev/register/Main/WebHome" method="post"

I have just copied the above from my Netscape source window when I got the TWiki registration page.

As you can see, the line contains an extra /edit/Codev in it, it is the same on all the other lines. This happens on my TWiki too. The edit makes Apache call the registration stuff again and people cannot register.

scriptUrlPath is set in my wikicfg.pm but it is overridden in wiki.pm, I am not sure why.

Kevin

-- KevinTwidle - 16 Jan 2001

I also think this code is bogus, and I proposed to remove it, see FixedScriptUrlPath

-- ColasNahaboo - 20 Apr 2001

The reason for getting the URL path from the environment is for installations where the URL is different, depending on the invocation. I.e. direct access or via proxy server. The downside is that thiscan fail in the case of a missed authentication.

The latest version has now a $doGetScriptUrlFromCgi flag in TWiki.cfg where you can control one or the other behaviour.

-- PeterThoeny - 25 Aug 2001

TopicClassification:
BugResolved
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2001-08-26 - 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.