Re: apache 2 + tomcat 6 virtualhost question

2010-05-27 Thread Rainer Jung
On 27.05.2010 05:11, Caldarale, Charles R wrote: From: Bithost Ltda. [mailto:bithost.ch...@gmail.com] Subject: Re: apache 2 + tomcat 6 virtualhost question Well it seems that such is for only one domain, and i will be deploying more than one, thats why i cant use ROOT Then declare

apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Bithost Ltda.
Hello I'm new to tomcat and i have some experience with apache, i have a debian server with apache 2.2 + mod_jk and tomcat 6 server. My doc root for my site is /home/mydomain/htdocs and i have a site which is using a WAR which i deployed it via the tomcat manager. So far if i go to

RE: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Caldarale, Charles R
From: Bithost Ltda. [mailto:bithost.ch...@gmail.com] Subject: apache 2 + tomcat 6 virtualhost question what i need is that when i type www.mydomain.com it goes to my app and stays with the mydomain.com url. The Tomcat side of the configuration is covered in the FAQ: http://wiki.apache.org

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Bithost Ltda.
El 26-05-10 17:39, Caldarale, Charles R escribi: From: Bithost Ltda. [mailto:bithost.ch...@gmail.com] Subject: apache 2 + tomcat 6 virtualhost question what i need is that when i type www.mydomain.com it goes to my app and stays with the mydomain.com url. The Tomcat side

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Borut Hadžialić
Hi Patricio, try this: 1. Redeploy your app in tomcat so it shows at http://mydomain:8080/ instead of http://mydomain:8080/myapp How you do this depends on how you deployed the app in the first place - a) if you deployed a myapp.war and use autodeploy, then rename it to ROOT.war and redeploy it

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Borut Hadžialić
Small mistake - put worker.myapp.port=8009 instead of worker.myapp.port=8109 (port needs to be the same as the one in tomcat's conf/server.xml Connector port=8009 protocol=AJP/1.3 .. ) On Thu, May 27, 2010 at 12:31 AM, Borut Hadžialić borut.hadzia...@gmail.com wrote: Hi Patricio, try this:

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Bithost Ltda.
El 26-05-10 18:31, Borut Hadžialić escribió: Hi Patricio, try this: 1. Redeploy your app in tomcat so it shows at http://mydomain:8080/ instead of http://mydomain:8080/myapp How you do this depends on how you deployed the app in the first place - a) if you deployed a myapp.war and use

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Borut Hadžialić
In that case you can have one tomcat instance per application. Each application can run inside its own tomcat process and have different ajp port, mod_jk worker and apache virtual host. On Thu, May 27, 2010 at 1:29 AM, Bithost Ltda. bithost.ch...@gmail.com wrote: El 26-05-10 18:31, Borut

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Hassan Schroeder
On Wed, May 26, 2010 at 4:29 PM, Bithost Ltda. bithost.ch...@gmail.com wrote: I appreciate this very helpful guide, i have some of these configs already in motion (got the ajp connector port, workers.properties and mod_jk included in apache), but what if i have more than 2 sites which need the

RE: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Caldarale, Charles R
From: Bithost Ltda. [mailto:bithost.ch...@gmail.com] Subject: Re: apache 2 + tomcat 6 virtualhost question Well it seems that such is for only one domain, and i will be deploying more than one, thats why i cant use ROOT Then declare multiple Host elements in Tomcat, each with its own

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Bithost Ltda.
El 26-05-10 23:11, Caldarale, Charles R escribi: From: Bithost Ltda. [mailto:bithost.ch...@gmail.com] Subject: Re: apache 2 + tomcat 6 virtualhost question Well it seems that such is for only one domain, and i will be deploying more than one, thats why i cant use ROOT