--- lib/TWiki.cfg Tue Feb 7 15:08:41 2006 +++ lib/TWiki.cfg Fri Mar 3 21:31:50 2006 @@ -821,6 +821,11 @@ # you are doing!) $cfg{UsersWebName} = 'Main'; +# **STRING 20** +# Name of the default web, ie. the web that is loaded if a url like +# http://wiki.foo.com/bin/view is requested. +$cfg{DefaultWebName} = 'Main'; + #---+ Mail and Proxies # **STRING 20** # Name of topic in each web that has notification registrations. --- lib/TWiki.pm Tue Feb 7 15:08:46 2006 +++ lib/TWiki.pm Fri Mar 3 21:21:55 2006 @@ -1228,7 +1228,7 @@ $this->{topicName} = TWiki::Sandbox::untaintUnchecked( $topic ); $web =~ s/$TWiki::cfg{NameFilter}//go; - $web = $TWiki::cfg{UsersWebName} unless $web; + $web = $TWiki::cfg{DefaultWebName} unless $web; $this->{webName} = TWiki::Sandbox::untaintUnchecked( $web ); # Convert UTF-8 web and topic name from URL into site charset