I want to implement a site running several instances of Mantis Bugtracker, each one with its own customizations.
Currently I can manage that by using several installations of MantisBT, one for each instance, and having one database for each instance. I would like to have one installation and one database.
For one installation I have tried to use mod_rewrite at my Apache server:
Code: Select all
RewriteRule ^(instance1|instance2|instance3)/(.*)$ mantis/$2?site=$1 [PT,L,QSA]
This works for incoming links, however all internal links and redirecting use the real installation path. I would like not to do too much rewritting into the MantisBT code.
On the Database, I still do not know how to use one database. Somewere I read something about using prefixed tables, however I cannot find where to set the prefix variable.