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.
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 commen
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 issue
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 am
nal Message-
> From: Xiongfei 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
>
> L
-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
t: 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 mod_jk.conf by hand.
>
>
&
owto.html
John
> -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.c
setup is something like this:
>
> JkMount /*.jsp 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: R
; To: Tomcat Users 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
>
> In
ries in httpd.conf 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
ither change it
> > to "www.host2.com" or use within the Host container to
alias
> > www.host2.com to host2.com.
> >
> > John
> >
> > > -Original Message-
> > > From: Hostmaster of the day [mailto:[EMAIL PROTECTED]
> > &g
Tomcat Users List
> 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 toma
er of the day [mailto:[EMAIL 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 g
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 w
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 T
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
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
a typo? The two are different. Either change it
to "www.host2.com" or use 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
Subj
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
http://www.
st
> Subject: Re: 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
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
>Antivíru
mething
>fishy, please 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 H
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 required
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 Data
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 server
paths
incorrect. If they don't work, let us know, of if someone sees something
fishy, please correct me.
John
> -Original Message-
> From: "Sebastico Carlos Santos" [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 3:28 PM
> To: Tomcat Users List
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
* 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]
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
using
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.
>
x27;Tomcat Users List'" <[EMAIL PROTECTED]>
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:
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,
7;t it be setup correctly out of the box?
>
> Thanks for the help! I am right on the edge of having everything work as I
> need it (for now)!
>
>
> - Original Message -
> From: "adrian" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EM
> 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
ing 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:
>
ed 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 a
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.
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 hos
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 be
DevelopmentWebsites, Ecommerce, Java, databases
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 06, 2001 1:30 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Apache + Tomcat Virtual Host not loading web.xml
>
>
> H
> Sent: Thursday, September 06, 2001 1:53 PM
> 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
>
TECTED]]
> 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 entry to your web.xml. I could be
>
Message-
> From: Neil Aggarwal [mailto:[EMAIL 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 t
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:
DocumentRoot /home/myhost/public-html
ServerName myhost.JAMMConsulting.com
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
deny from all
Opt
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 di
46 matches
Mail list logo