development1Add my vote for this tag create new tag
, view all tags

Feature Proposal: Setting for the default web


Currently, the default web name is the UsersWebName, changing that implies moving all user/group topics to that web.

Description and Documentation

The possibility to set the default web loaded when the url is of the form http://foo.com/bin/view.


Impact and Available Solutions


-- Contributors: KoenMartens


-- KoenMartens - 03 Mar 2006

Might want a little addition to that patch: one where you can use a TWikiVariable for the default web, if you actually use that.

(fake diff)

    # Constant tags dependent on the config
    $constantTags{AUTHREALM}       = $TWiki::cfg{AuthRealm};
    $constantTags{HOMETOPIC}       = $TWiki::cfg{HomeTopicName};
    $constantTags{MAINWEB}         = $TWiki::cfg{UsersWebName};
+      $constantTags{DEFAULTWEB}          = $TWiki::cfg{DefaultWebName};
    $constantTags{TRASHWEB}        = $TWiki::cfg{TrashWebName};
    $constantTags{NOTIFYTOPIC}     = $TWiki::cfg{NotifyTopicName};
    $constantTags{SCRIPTSUFFIX}    = $TWiki::cfg{ScriptSuffix};

I tend to be the perl definition of lazy, so anything to make life - or at least usage of something, I go for it. smile

-- EricCote - 27 Mar 2006

I have been hunting for this feature for a couple of days. I was really hoping that this capability already existed. Does anyone know any workarounds?

-- ChuckGrindel - 24 May 2006

I've started making a change for that -- allowing different webs for users and Main -- but that's only in develop. As this is an enhancement, I'm not sure it'll be allowed to go into 4.0

-- MeredithLesly - 24 May 2006

Did this not make it into the build?

-- MartinCleaver - 09 Oct 2006


~/public_html/.htaccess RewriteEngine on RewriteRule ^$ /YOURDEFAULTWEBNAME/WebHome [PT]

Would be better in configure though

-- MartinCleaver - 09 Oct 2006

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff defaultweb.diff r1 manage 0.9 K 2006-03-03 - 22:13 KoenMartens Patch adding the default web setting
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-10-09 - MartinCleaver
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.