I have a problem, sorry if it seems stupid but I really don't know what to do after some days of not helpful googling.
The company I work for has a website realized in such a way that is not possible to modify, so, needing new functionalities we decided to realize a new indipendent website for these.
I realized it with java technology, then I tried to put it online.
The problem is that the hosting company provide a linux server (centos distribution), where apache has been installed by a previous webmaster. now, I need to install tomcat, integrate it with apache (I think by using mod_jk module), then configurate both of them in a specific way for having this behaviour:
typing the url http://www.company_name/ go to the old website,
typing the url http://www.company_name/new_app/ go to my new java website.
How is possible such a thing?
All online guides mainly say:
3)modify tomcat and apache creating a specific vhost for your application.
Simple, in theory, but i'have had some problems.
About 1)I have installed tomcat using yum and it seems to work, but I don't know how to connect to his main page.
About 2)Then, I have tried to install mod_jk, downloading source code and trying to create the .so file. It gives an error with the make install that for me doesn't make sense, because says permession denied for an operation done as root.
About 3) I don't have any idea about how to do it.
Can you help me in some way, also linking me to some guides which procedure worked with similar systems?
Thanks a lot.