Tags:
create new tag
, view all tags

Question

Hi, I have two Twikis. How can integrate them? .i.e., I want to run both the Twiki's using the same URL (So that they use same code i.e, cgi-bin etc to prevent the replecation of the code).On the how page I wil have two links (Twiki1, Twiki)2. If I click on the link Twiki1, I need to have one WIKIWEBLIST. And if I click on link Twiki2, I have to get a different WIKIWEBLIST. Is this possible?

  • TWiki version:
  • Perl version:
  • Web server & version:
  • Server OS:
  • Web browser & version:
  • Client OS:

-- AdiLakshmiAlapati - 19 Jun 2003

Answer

I did a little change in TWiki.cfg wich could be the start point of your need :

...
# variables that need to be changed when installing on a new server:
# ==================================================================
# ---- Windows paths should normally be written as "c:/foo" not "c:\foo" 
# ---- (which doesn't do what you may think it does).  You can use '\' 
# ---- without problems inside single quotes, e.g. 'c:\foo'.
#                   URL for TWiki host :    (e.g. "http://myhost.com:123")

$twiki          = 'TWiki';  TWiki dir name 

$defaultUrlHost = "http://localhost";           
...

Then the trick would be to set the TWiki dir name from the url and to define common dir/files usind symbolic links.

Anyway, I think that the idea to define the name of TWiki dir in var is usefull. I was used to copy TWiki tree in TWiki.old wich is also shared on APACHE web server in my case, so it make TWiki test easyand without disturbing others. Note that, now, with TWikiMiniWebServer, I do not need any that more wink

Hope this will help you a bit.

-- PatrickNomblot - 21 Jun 2003

Topic revision: r3 - 2003-10-02 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.