Page 1 of 1

How to run CmapServer behind Apache

Posted: Thu Feb 24, 2011 1:57 am
by umesh.ganapathy
I can see its based on tomcat(correct me if i am wrong)

So i am trying to connect it to apache using AJP ports. how do i do it?

Or is there any way to run cmaps behind apache using virtual hosts (I even tried mod proxy and rewrite.. not success).

The problem is i have only one server and i have many apps in that which runs behind apache using virtual hosting and for cmaps i want a subdomain to be used than some port.
(I can open some other port in server other than 80 and can access it. But i want proper domain name.)

~Umesh

Re: How to run CmapServer behind Apache

Posted: Thu Feb 24, 2011 12:02 pm
by camerongoble
I have a similar situation here -- an apache box with lots of virtual domains, with cmapserver's tomcat running on its own port.

I've thought a little about this problem, and though I haven't implemented a solution, this one is on my list of things to try. Essentially you configure a virtual domain in apache to work as a proxy to the tomcat port, like cmap.yoursever.com <-proxies-> yourhost.com:8080 (or whatever your port is).

You might try it and let me know how it works for you.

Re: How to run CmapServer behind Apache

Posted: Fri Feb 25, 2011 4:45 pm
by acanas
Hi, sorry but there is no easy way to run the CmapServer without the included Tomcat. There is too much interdependence between them.