TWiki supports URL rewrite by virtue of the SCRIPTURLPATHS configure option.
To get the smallest possible URLs, it is desirable that view script be ''.
That is, the main page is:
http://servername/Main/WebHome
Currently, you can set this with an absolute path, but a relative path is more desireable from a portability standpoint.
Note: I maintain support for view via servername/twiki/bin/view as well since not all places use the
https://develop.twiki.org/do/view yet.
lib/TWiki.pm line 895:
unless( $url ) {
should be:
unless( defined( $url ) ) {
This seems more proper anyway, you want to know if it's already set, not if it's value is false.
Hopefully this will just sneak in under the bar for 4.0.3
CC