mantisbt:run_multiple_mantis_sites_on_one_installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mantisbt:run_multiple_mantis_sites_on_one_installation [2011/02/18 04:43] – Phileas | mantisbt:run_multiple_mantis_sites_on_one_installation [2013/06/21 16:30] (current) – dregad | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== How to serve multiple mantis installations on the windows platform ===== | ===== How to serve multiple mantis installations on the windows platform ===== | ||
+ | |||
with | with | ||
+ | |||
- just one mantis installation | - just one mantis installation | ||
- one or more databases | - one or more databases | ||
Line 42: | Line 44: | ||
That is all | That is all | ||
+ | ===== Examples of Configuration ===== | ||
+ | |||
+ | ==== config_inc.php ==== | ||
So how would your '' | So how would your '' | ||
Line 72: | Line 77: | ||
<?php | <?php | ||
// * HTTP_HOST is used to determine the config file needed for webservices | // * HTTP_HOST is used to determine the config file needed for webservices | ||
- | // * SCRIPT_NAME is used to determine the config file needed for commandline services | + | // * SCRIPT_NAME is used to determine the |
- | $hostheader = $_SERVER[' | + | |
+ | if (isset($_SERVER[' | ||
+ | | ||
+ | } | ||
$mailscript = $_SERVER[' | $mailscript = $_SERVER[' | ||
Line 97: | Line 105: | ||
The contents of '' | The contents of '' | ||
+ | |||
+ | ==== custom_strings_inc.php ==== | ||
There is one other area which needs to be addressed which is the reference within Mantis to '' | There is one other area which needs to be addressed which is the reference within Mantis to '' | ||
Line 102: | Line 112: | ||
Good news is that it is not a real issue anyway. This can be handled pretty easily, exactly in the same way as for the base config !! | Good news is that it is not a real issue anyway. This can be handled pretty easily, exactly in the same way as for the base config !! | ||
- | Just move your custom strings into an instance dependent file caklled | + | Just move your custom strings into an instance dependent file called |
Then your '' | Then your '' | ||
Line 113: | Line 123: | ||
// * * | // * * | ||
// ****************************************************************************************** | // ****************************************************************************************** | ||
- | $hostheader = $_SERVER[' | + | if (isset($_SERVER[' |
+ | | ||
+ | } | ||
$mailscript = $_SERVER[' | $mailscript = $_SERVER[' | ||
Line 134: | Line 146: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | ==== custom_constants_inc.php ==== | ||
The same applies for the custom_constants_inc.php | The same applies for the custom_constants_inc.php | ||
+ | |||
mantisbt/run_multiple_mantis_sites_on_one_installation.1298022232.txt.gz · Last modified: 2011/02/18 04:48 (external edit)