Koozali.org: home of the SME Server

SMEServer as Application server

Offline hendrikus

  • *
  • 13
  • +0/-0
SMEServer as Application server
« 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

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: SMEServer as Application server
« Reply #1 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.

Offline hendrikus

  • *
  • 13
  • +0/-0
SMEServer as Application server
« Reply #2 on: February 12, 2007, 08:48:46 PM »
Thanks Charlie,

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

Regard's Hendrikus