Hi, I asked this question yesterday and got no hints from anyone.
Since then, I have been able to accomplish what I want using multiple
instances of Tomcat. However, I would much rather use one instance
and serve requests on different Apache port.
Does anyone have ANY comments regarding my
Aria Bamdad wrote:
Hi, I asked this question yesterday and got no hints from anyone.
Since then, I have been able to accomplish what I want using multiple
instances of Tomcat. However, I would much rather use one instance
and serve requests on different Apache port.
Does anyone have ANY
Nikola,
Thank you very much for you good comments. I agree that port based
servers are not common. The reason we use them is for separating
for example internal web sites and external public web sites.
Using host name based virtual hosting, you have to give a different
host name to each port.
Hi,
Sorry if this has been asked before but I can't find any such example..
I have Apache talking to Tomcat and everything works fine.
My situation is as follows:
I am using Apache VirtualHost directive to set different document roots
depending on the PORT number the request comes in. So, I
are different. Either change it
to www.host2.com or use Alias within the Host container to alias
www.host2.com to host2.com.
John
-Original Message-
From: Xiongfei Wang [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 11:35 PM
To: Tomcat Users List
Subject: get apache-tomcat virtual host
I have redhat linux 7.3
i have two virtual host in my machine www.host1.com and www.host2.com
www.host1.com is the default one.
I have installed apache-tomcat on my machine
apache-tomcat runs fine with the www.host1.com one.
i mean both http://www.host1.com:8080/examples and
Is this a glitch? Did my first reply to this post get lost?
John
-Original Message-
From: Xiongfei Wang [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 10:53 AM
To: Tomcat Users List
Subject: how to get apache-tomcat virtual host work?
I have redhat linux 7.3
John,
where is your reply ?
how to get apache-tomcat virtual host work? is an easy
question as long as you are using Tomcat 3.2.3 or Tomcat 3.3.1.
Although I'm working very successfully with virtual hosts
and Tomcat 3.2.3 + 3.3.1 I was up to now unable to get virtual
hosts running with Tomcat
-tomcat virtual host work?
John,
where is your reply ?
how to get apache-tomcat virtual host work? is an easy
question as long as you are using Tomcat 3.2.3 or Tomcat 3.3.1.
Although I'm working very successfully with virtual hosts
and Tomcat 3.2.3 + 3.3.1 I was up to now unable
PROTECTED]
Sent: Friday, February 28, 2003 11:36 AM
To: [EMAIL PROTECTED]
Subject: RE: how to get apache-tomcat virtual host work?
John,
where is your reply ?
how to get apache-tomcat virtual host work? is an easy
question as long as you are using Tomcat 3.2.3 or Tomcat 3.3.1
Subject: RE: how to get apache-tomcat virtual host work?
John,
Thank you very much for your response.
after i chang host2.com to www.host2.com and restart tomacat apache
My mod_jk.conf is like:
***
VirtualHost www.host2.com
28, 2003 11:36 AM
To: [EMAIL PROTECTED]
Subject: RE: how to get apache-tomcat virtual host work?
John,
where is your reply ?
how to get apache-tomcat virtual host work? is an easy
question as long as you are using Tomcat 3.2.3 or Tomcat 3.3.1.
Although I'm
for things like JkWorkersFile, etc.?
John
-Original Message-
From: Xiongfei Wang [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 12:58 PM
To: Tomcat Users List
Subject: RE: how to get apache-tomcat virtual host work?
John,
Thank you very much for your response
List
Subject: RE: how to get apache-tomcat virtual host work?
I did create it by hand.
I just delete mod_jk.conf and restart tomcat and mod_jk.conf has same
thing inside as before.
In httpd.conf
I have
Include /usr/local/tomcat/conf/auto/mod_jk.conf
IfModule mod_jk.c
ajp13
JkMount /servlet/* ajp13
John
-Original Message-
From: Xiongfei Wang [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 2:36 PM
To: Tomcat Users List
Subject: RE: how to get apache-tomcat virtual host work?
I did create it by hand.
I just delete
-Original Message-
From: Xiongfei Wang [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 2:54 PM
To: Tomcat Users List
Subject: RE: how to get apache-tomcat virtual host work?
my previous email should be I did NOT create mod_jk.conf by hand.
because i do not know how to creat
, February 28, 2003 2:54 PM
To: Tomcat Users List
Subject: RE: how to get apache-tomcat virtual host work?
my previous email should be I did NOT create mod_jk.conf by hand.
because i do not know how to creat mod_jk.conf by hand.
On Fri, 28 Feb 2003, Turner, John wrote:
Take out
Message-
From: Xiongfei Wang [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 2:54 PM
To: Tomcat Users List
Subject: RE: how to get apache-tomcat virtual host work?
my previous email should be I did NOT create mod_jk.conf by hand.
because i do not know how to creat
Wang [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 3:18 PM
To: Tomcat Users List
Subject: RE: how to get apache-tomcat virtual host work?
Thanks for your email
in httpd.conf
I have
IfModule !mod_jk.c
LoadModule jk_module modules/mod_jk.so
/IfModule
to load mod_jk.so
On Thu, 27 Feb 2003, Xiongfei Wang wrote:
I have redhat linux 7.3
i have two virtual host in my machine www.host1.com and www.host2.com
www.host1.com is the default one.
apache-tomcat runs fine with the default one.
i mean both http://www.host1.com:8080/examples and
I have a server with Apache 2.0.44 and Tomcat 4.1.18
working jointly, through mod_jk.so, accordingly
documented in John Turner HowTo (Apache 2.0.43 + Tomcat 4.1.12 + mod_jk).
All accomplished the tests after the installation and when typing the
url http://admged.ufu.br/examples verified that the
correct me.
John
-Original Message-
From: Sebastico Carlos Santos [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 3:28 PM
To: Tomcat Users List
Subject: Apache + Tomcat + Virtual Host
I have a server with Apache 2.0.44 and Tomcat 4.1.18
working jointly, through
Sebastiao -
Sorry I didn't get back to you ealier in the week on this.
What you need to do is add a JkMount directive inside your virtual host:
JkMount /admged ajp13
JkMount /admged/* ajp13
This is assuming that you put the LoadModule, AddModule, JkWorkersFile
earlier in httpd.conf.
In
Without problem. Everything is well.
In case I have configured Tomcat to generate mod_jk.conf automatically the
configuration will change? Best saying, I just used Include / path/to/mod_jk.conf in
httpd.conf instead of LoadModule, AddModule and JkWorkersFile.
Sebastião Carlos Santos
Oracle
Yup, you can do that, and then manually put the JkMount commands where
you need them. However, I always find it more intuitive and readable to
have all commands directly in httpd.conf. Personally, I hate the
auto-generated mod_jk.conf because almost all Tomcat installations I
have done
-Original Message-
From: Sebastico Carlos Santos [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 3:28 PM
To: Tomcat Users List
Subject: Apache + Tomcat + Virtual Host
I have a server with Apache 2.0.44 and Tomcat 4.1.18
working jointly, through mod_jk.so, accordingly
documented
I will redo the configuration of the Apache with the tomcat, this time not
using mod_jk.conf generated automatically.
I thank for the the help and released attention
*** REPLY SEPARATOR ***
On 23/01/2003 at 13:22 Lajos Moczar wrote:
E-mail Premium BOL
: Apache + Tomcat + Virtual Host
Yup, you can do that, and then manually put the JkMount
commands where
you need them. However, I always find it more intuitive and
readable to
have all commands directly in httpd.conf. Personally, I hate the
auto-generated mod_jk.conf because almost all
* Rasputin [EMAIL PROTECTED] [0148 21:48]:
Sorted! Just re-enabled the pussy.tenten vhost and mapped
[uri:pussy.tenten/*]
insread.
-
workers2.properties has this:
-
[uri:pussy.tenten]
group=lb
[uri:/examples/*.jsp]
Chris Schild wrote:
Hi all,
I am a newbie to Tomcat. I'm having a problem with configuring the virtual host with Tomcat.
The problem is that I cannot get the examples/jsp to work with the virtual host?!?
A window pops up asking to open or save the source when I try to execute an example.
)!
- Original Message -
From: adrian [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 20, 2003 4:01 AM
Subject: Re: Apache Tomcat Virtual Host
Chris Schild wrote:
Hi all,
I am a newbie to Tomcat. I'm having a problem with configuring the
virtual host
work as I
need it (for now)!
- Original Message -
From: adrian [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 20, 2003 4:01 AM
Subject: Re: Apache Tomcat Virtual Host
Chris Schild wrote:
Hi all,
I am a newbie to Tomcat. I'm having a problem
/XP
Pro.
John
-Original Message-
From: Chris Schild [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 2:47 PM
To: Tomcat Users List
Subject: Apache Tomcat Virtual Host
The version of Tomcat that I am is using is 4.1.18, The
version of Apache
is 2.0.43
The connector
on the edge of having everything work as I
need it (for now)!
- Original Message -
From: adrian [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 20, 2003 4:01 AM
Subject: Re: Apache Tomcat Virtual Host
Chris Schild wrote:
Hi all,
I am
Right on.
John
-Original Message-
From: Ed Robbins [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 2:52 PM
To: Tomcat Users List
Subject: Re: Apache Tomcat Virtual Host
I'm running the same setup and in the httpd.conf file, I have the
JkMounts in the following
]
Sent: Monday, January 20, 2003 1:57 PM
Subject: RE: Apache Tomcat Virtual Host
Right on.
John
-Original Message-
From: Ed Robbins [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 2:52 PM
To: Tomcat Users List
Subject: Re: Apache Tomcat Virtual Host
I'm running
ApacheConfig.
John
-Original Message-
From: Chris Schild [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 3:57 PM
To: Tomcat Users List
Subject: Re: Apache Tomcat Virtual Host
Thanks guys! That was it. The mounts were not defined.
John, I don't remember seeing JkMounts
Are there docs anywhere explaining how to setup jk2 vhosts in
workers2.proeprties?
I'd like to avoid using httpd.conf edits, due to file permission issues.
Google isn't helping as much as it should, and the jakarta docs will no
doubt make sense once they're explained to me :)
Basically, I'm
Hi all,
I am a newbie to Tomcat. I'm having a problem with configuring the virtual host with
Tomcat.
The problem is that I cannot get the examples/jsp to work with the virtual host?!?
A window pops up asking to open or save the source when I try to execute an example.
I'm sure I need to
Seems like the mime type is not set properly. Check and see if you have
set it, tomcat should have it set ok, you may need to configure your web
server to do the same if it hasn't already.
Chris Schild wrote:
Hi all,
I am a newbie to Tomcat. I'm having a problem with configuring the virtual
PROTECTED]]
Sent: Wednesday, September 05, 2001 7:49 PM
To: Tomcat-User
Subject: Apache + Tomcat Virtual Host not loading web.xml
Hello:
I am trying to set-up a virtual host on my set-up with
apache and tomcat.
Here is what I did:
I added this to the htpd.conf file:
VirtualHost [IP
]]
Sent: Thursday, September 06, 2001 7:48 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Apache + Tomcat Virtual Host not loading web.xml
I don't think you have a servlet mapping until you add
a servlet-mapping entry to your web.xml. I could be
wrong, but I don't believe the Servlet spec
To: [EMAIL PROTECTED]
Subject: RE: Apache + Tomcat Virtual Host not loading web.xml
Larry:
The JkMount is in the apache httpd.conf file, but the web.xml
should be read by tomcat when it starts up. Apache is not
even in the picture yet.
I think the problem is that tomcat is either:
1
Hello:
I am trying to set-up a virtual host on my set-up with
apache and tomcat.
Here is what I did:
I added this to the htpd.conf file:
VirtualHost [IP Address]
DocumentRoot /home/myhost/public-html
ServerName myhost.JAMMConsulting.com
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
I found no documentation.. so.. could anyone please tell me how to setup
this:
I use Tomcat 4 b7 and Apache 1.3 under Linux (Debian)
I want to set up some virtual hosts with Apache under the dir. /var/www/...
for ex.
/var/www/site1.com
/var/www/site2.com
etc..
Catalina home (tomcat home) is in
45 matches
Mail list logo