Re: [otrs] OTRS support for virtual sites

Hi Ryan,
I don't see why it wouldn't be possible.
Copy the otrs directory elsewhere, edit the config (otrs location, database details) edit apache config....
Thanks for the reply, are you suggesting copying the whole of the otrs installation directory? The problem is I'd want just one copy of the binaries/libraries on the server (to make patches/upgrades easier), but individual config files (and perhaps databases) for each virtual site. I'm quite happy with sorting out the Apache config for multiple OTRS installs, the question is whether it's possible to have OTRS config files decoupled from just the one OTRS installation, and then how to direct Apache to these configs. I had a thought that perhaps this could be done with symbolic links for the binaries/libraries, so that it appears that there are individual complete installs of OTRS on the machine, when in fact they share the same binaries/libraries. But this seems messy, and doen't really fix the problem properly as future upgrades/patches would require maintenance of all the symbolic links for each virtual site. Gary

I think is would be possible. You would need to change some OTRS code though. You could have per site an index.pl which loads OTRS from a shared location. You would have to create a way to tell OTRS where to find the config for this specific install. Same thing must be done for customer.pl and faq.pl etc and for every script you may want to run (pop3 fetching, pending jobs, etc). If you can code perl, I think it will be possible to achieve this. Wouldn't know if my theory works in practice, so no guarantees! ;) Regards, RIchard
participants (2)
-
Gary Sedgwick
-
Richard Hinkamp - BeSite