Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: hendrikus on February 10, 2007, 06:28:23 PM

Title: SMEServer as Application server
Post by: hendrikus on February 10, 2007, 06:28:23 PM
I want to move my application server from OpenSuse to the SMEserver, normaly we create subdomains with the applications like:

http://crm.mycompany.com
http://erp.mycompany.com
http://dms.mycompany.com

When creating this domains in SME I need to link them to I-bays and not like normaly to http://mycompany.com/crm/ .
I see some note's thats it's not wise to use the I-Bay for install applications and the advise is to use /opt/crm/ but I couldn't find a description in detail how to do this. Where I can find clear explenation.

Regard's
Hendrikus
Title: Re: SMEServer as Application server
Post by: CharlieBrady on February 12, 2007, 08:29:12 PM
Quote from: "hendrikus"
I want to move my application server from OpenSuse to the SMEserver, normaly we create subdomains with the applications like:

http://crm.mycompany.com
http://erp.mycompany.com
http://dms.mycompany.com


If you want to do that, then you don't want to use the template fragments in /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHost/. You don't have to.

cd /etc/e-smith/templates.custom
mkdir -p etc/httpd/conf/httpd.conf/CRMHost
vi etc/httpd/conf/httpd.conf/CRMHost/xxx

db domains setprop crm.mycompany.com TemplatePath CRMHost
expand-template /etc/httpd/conf/httpd.conf

You now have complete control over the virtual host definition for crm.mycompany.com.

Do similar for dms and erp.
Title: SMEServer as Application server
Post by: hendrikus on February 12, 2007, 08:48:46 PM
Thanks Charlie,

I will try this tomorrow, sound a great solution for me....

Regard's Hendrikus