NOTE: Edit and Attach will be disabled today between 05:00 PM and 06:00 PM PDT (00:00 to 01:00 GMT) for a scheduled TWiki maintenance.
Tags:
create new tag
view all tags

Question

  • We want to move our wiki from one server to another.
  • How can we easily lock the whole wiki? We do not want anybody to loose changes if somebody is just editing when we are moving the wiki.
  • Can we recognize which topis are in edit mode?
  • Can we block the edit script?
  • Thanks for your help.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Linux
Web server: Apache
Perl version: 5.8
Client OS: MS Windows
Web Browser: Internet Explorer 6, Firefox
Categories: Hosting

-- KirstinWeber - 25 Jul 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

A very simple solution might be to post on the main page of your wiki that the server will be down for maintenance at a certain time (i.e. early in the morning / late in the evening). You can change the preferences of each web so that only TWikiAdmins can log in - thus preventing people from viewing any information / editing any information. Then switch back the user rights later on. An example of the configuration you may want to do in WebPreferences could be:

Set DENYWEBVIEW = 
Set ALLOWWEBVIEW = TWikiAdminGroup 
Set DENYWEBCHANGE = 
Set ALLOWWEBCHANGE = 
Set DENYWEBRENAME = 
Set ALLOWWEBRENAME = 
-- BrianMahoney - 25 Jul 2007

You could use the following in Main.TWikiPreferences to display a message at the top of each page:

  • Set BROADCASTMESSAGE =
    NOTE: Edit and Attach will be disabled today between 05:00 PM and 06:00 PM PDT (00:00 to 01:00 GMT) for a scheduled TWiki maintenance.

Assuming your skin supports that.

You could also use Apache to deny access to the edit and attach scripts, which might be easier if you have a lot of webs and don't want to set the preferences of each one.

-- AndrewRJones - 26 Jul 2007

Thanks for your help.

-- KirstinWeber - 27 Jul 2007

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-07-27 - KirstinWeber
 
  • 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.