• Welcome to KonaKart Community Forum. Please login or sign up.
 

Deployment

Started by lowfier, August 28, 2013, 06:19:02 pm

Previous topic - Next topic

lowfier

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

ming

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/.

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.

lowfier

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

ming

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.

lowfier

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.