KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: lowfier on August 28, 2013, 06:19:02 pm

Title: Deployment
Post by: lowfier on August 28, 2013, 06:19:02 pm
Hi all,

First of all thanks for all the replies to my questions. I like your product so much that i am thinking on trying the EE on my company.
I have a few pratical question regarding the deployment of konakart on a production env.

- Is your version of tomcat safe as a webserver or you advise to put it behind an apache webserver?

- What is the best way to configure the app to run on http://mydomain.com/welcome.action instead of http://mydomain.com/konakart/welcom.action ?

Thanks in advance :D
Title: Re: Deployment
Post by: ming on August 29, 2013, 10:31:39 am
Some people just use tomcat but my preference is to front it with Apache. This is actually what we do with our online demo at http://www.konakart.com/konakart/ (http://www.konakart.com/konakart/).

Having Apache in front allows you to use very powerful redirection to solve the second question easily.

You can also do this redirect in tomcat alone - see HttpRedirectFilter as one technique - but I prefer Apache and all the other features that come with that.
Title: Re: Deployment
Post by: lowfier on August 29, 2013, 11:51:17 am
I tried the following with success:

- Moved all content from /konakart to /ROOT
- Created a proxy port from 80 to 8780.

It seems that all is working fine. Do you see any problems on this changes that i cant predict or test?

Thanks
Title: Re: Deployment
Post by: ming on August 29, 2013, 06:28:19 pm
I've never done that but I don't know any reason why it wouldn't work.  You could run KonaKart on port 80 if you preferred.
Title: Re: Deployment
Post by: lowfier on August 30, 2013, 09:48:32 am
Ok, Thanks,

The proxy port from 80 to 8780 is done by apache as you suggested. So the real web server is apache and the tomcat remains only as app server on its original 8780 port. The only thing that i didnĀ“t want is the /konakart container because our store is going to be the front website of our company.