Tags:
create new tag
view all tags

Question

I'd like my multiple twiki instances to be able to share some common information and I was wondering if I could do it with a few symlinks in the various data directories.

I've seen: MultipleTwikiInstancesWithCommonUsers, SeparateTWikiInstances, and TwoTWikisOntheSameServer, but none seem to cover a commom web across multiple twikis.

Why I want to do this is that we have a customer-base using a more public wiki on a certain virtual server, and an internal twiki on a different virtual server with a different user base. I'd like to work up content on the internal twiki and push it out to the external twiki, and having a common web seems like a good solution.

The following link seems easy, but I wonder what implications it would have:

ln -sf private/twiki/data/Public public/twiki/data/Public

I imagine I'd need to set up the access controls ((ALLOW|DENY)(WEB|CHANGE|RENAME)) with differently defined groups in the two twiki/Main.

in .../Public/WebPreferences: set ALLOWWEBCHANGE = PublicWebEditorGroup

public/twiki/view/Main/PublicWebEditorGroup: set GROUP = NoBody

private/twiki/view/Main/PublicWebEditorGroup: set GROUP = ManyEmployeesGroup

Is the locking maintained in the data/Webname directories? Or if I hinder editing in the public install, can I avoid any locking issues?

Environment

TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Sun
Web server: Apache
Perl version: 5.8.1
Client OS: ...
Web Browser: ...
Categories: Installation, Permissions, Security

-- DavidForrest - 06 Dec 2005

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.

I think the setup you describe with sym-links and group should work. Do not forget to sym-link also the Public web's pub directory.

You do not need to worry about locking since you are only editing content in the private installation. Locking works even if you allow edits in both installations (since the lock files are in the web directory.)

If the external installation is read only you could remove the edit and attach link in the skin. Another possibility is to generate static HTML. See PublishAddOn.

-- PeterThoeny - 07 Dec 2005

Thanks. It does seem to work. I missed the pub/Web linking at first. I stared with an empty web and pub/Web doesn't exist until an attachment is created.

-- DavidForrest - 07 Dec 2005

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-12-07 - PeterThoeny
 
  • 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-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.