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 multiple

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 Then

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 elements in Tomcat, ea

Re: apache 2 + tomcat 6 virtualhost question

2010-05-26 Thread Hassan Schroeder
On Wed, May 26, 2010 at 4:29 PM, Bithost Ltda. 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 > same way of deploy

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. wrote: > El 26-05-10 18:31, Borut Hadžialić escribió: >> >> Hi P

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 autode

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 wrote: > Hi Patricio, try this: > > 1. Redeploy your app in tomcat so it shows at http://mydomain:8080/instead of > http://mydomain:8080/myapp > > How y

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 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 o

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.