Does SugarCRM support running multiple instances of the app based on the request URL? I use this feature extensively in Drupal (http://drupal.org/node/260) and was wondering if there is something similar for sugar.
Thanks!
Does SugarCRM support running multiple instances of the app based on the request URL? I use this feature extensively in Drupal (http://drupal.org/node/260) and was wondering if there is something similar for sugar.
Thanks!
You should be able to do this no problem. I have at least a dozen copies running on the same machine using different URLs.Originally Posted by bkudria
Kenneth Brill - Help Forum Moderator
I do not respond to 'Private Messages'. Please email me directly instead
When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
Help us Help You
From a layman terms, I believe I copy the sugarsuite into a dir named client1_sugarcrm and make that as a URL.
For another client, client2_sugarcrm. Is it like that?
I hope note / attachments will be relative to their own dirs. For client1, provide permissions to client1 dir and for client2 to client2.
Am I right?
I hear that Virtual domain may help here too. How does that work?
Using virtual domains you can any number of URLs not just sub-domains. You can have www.crm.com and www.anothersite.com on the same server. If you use IP based domains each domain has its own IP address too. My server has 14 separate domains and IP addresses because each store has it's own Security certificate.Originally Posted by sugarcare
And yes everything is relative to it's own directory.
Kenneth Brill - Help Forum Moderator
I do not respond to 'Private Messages'. Please email me directly instead
When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
Help us Help You
Great! How do i implement the details? Do I just point a symlink to the sugar dir and use the install script? Is there anything else I have to keep track of? Is this in the docs somewhere? Thanks!
You can not use simlinks for the SugarCRM Directory as the configuration and cache directories will be diffrent for each instance of SugarCRM. Not to mention upgrade hell for you unless you are very good at shell scripting, SQL and understanding hardlinking all files except config.php, config_override.php and the following directories for each instance should be not linked at all: cache/ and cusom/
Symbolic links and apache/php does not do what you expect it to do. Instead of executing the php script it displays the content of the php script. That is why hard links are nessary if you want to share common files without using up execss space.
The Gentoo distribution (Expertise in Linux Required to use Gentoo which can be found at http://www.gentoo.org ) there is a system utilitiy to do the linking called webapp-config I am working on a SugarCRM config for that utility that will do the hard linking of common files.
One other thing is you will have to create a database instance for each instance of SugarCRM.
The easiest way is to copy into each directory a complete copy of the SugarCRM files and run the install for each directory with seperate database instances(be sure to rename the default database name during the install and create a new user for each database).
Last edited by kpit; 2006-09-06 at 07:34 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks