Loading...
 
Content may be out of date
An urgent request for translation has been sent. Until this page is updated, you can see a corrected version in the following pages:

Tiki multiples sur un seul serveur

Note: Cette documentaiton est pour Tiki, version 1.8. Elle est surement valable pour des versions plus récentes, mais cela n'a pas été vérifié. Pour Tiki version 1.9 et ultérieurs, il existe une approche différente qui requiert l'édition du fichier db/tiki-db.phpet l'utilisation de nouvelles fonctionnalités dans tiki-install.php.  La nouvelle variante est scantily documentée à  [http://tikiwiki.org/MultiTiki19].


Il est possible d'avoir de multiples Tikis sur un seul serveur.
Il y a 3 conditions majeures à  respecter pour cela:

  • Tiki doit avoir un accès à  une base de données différente pour chaque URL.
  • Apache doit savoir comment associerces multiples URL avec Tiki.
  • Vous devez créer les répertoires nécessaires avec le répertoir principal de Tiki.

Créer une une base de données distincte pour chaque URL

  • Chaque base de données aura un nom différent. Dans Mysql, la création de base de données est normalement effectuée avec la commande mysqladmin. Vous devriez avoir la permission de créer une base de données, ou bien vous aurez à  le demander à  l'administrateur du système. Pour indiquer à  Tiki quelle base de données va avec quelle URL, vous devez éditer un des fichiers PHP de Tiki. Le fichier db/local.php est dédié à  cela.

Configure Apache for multiple Tikis.

  • Typically, each Tiki will be accessed by a separate URL through Apache. Generally, the URLs are specified as virtual hosts — often in VirtualHost stanzas within Apache's configuration file. Remember to restart Apache after you have changed the configuration files. On Linux this is usually best done with the "apachectl" graceful command.

Create the necessary directories within Tiki's main directory.

  • On a Unix system, the easiest way to create the new directories and set permissions is by specifing more than one tikidomain when you run setup.sh. You would run setup.sh with a command like:
./setup.sh apache apache 02755 domain1 domain2 domain3

Create the directories manually for Windows hosting.

It is possible to add additional tikis after you have installed a single Tiki. However, with the execption of the case in the following paragraph, you will have to manually create the needed directories. If you are hosting on a Unix system, you will also need to manually set the ownership and permissions.

http://tikiwiki.org/tiki-index.php?page=RecipeMultiTiki has a detailed recipe tested under ))RedHat((, version 8 and version 9 and Yellow Dog Linux, version 3.0. Root access to the Linux machine is required for this approach. If you follow the instructions exactly, there is a Python script you can use to add additional Tikis later.

There are a few minor problems that crop up with this approach. The admins for the various tikis have the ability to overwrite each others changes to the css. Ordinary. users with the same login names on different tikis would also be able to overwrite each other's changes to css files. Finally, you must use Apache's mod_rewrite if you want the different Tikis to have their own favicons.








Page last modified on Sunday 12 September, 2010 00:14:49 GMT-0000

doc.tiki.org

Get Started

Admin Guide User Guide Bootstrap in Tiki

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Trackers
Transitions
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki