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