Re: Apache Tomcat Virtual Host question

2005-10-06 Thread Aria Bamdad
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

Re: Apache Tomcat Virtual Host question

2005-10-06 Thread Nikola Milutinovic
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

Re: Apache Tomcat Virtual Host question

2005-10-06 Thread Aria Bamdad
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.

Apache Tomcat Virtual Host question

2005-10-05 Thread Aria Bamdad
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

RE: get apache-tomcat virtual host

2003-02-28 Thread Turner, John
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

how to get apache-tomcat virtual host work?

2003-02-28 Thread Xiongfei Wang
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

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Turner, John
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

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Hostmaster of the day
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

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Turner, John
-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

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Xiongfei Wang
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

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Turner, John
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

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Hostmaster of the day
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

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Xiongfei Wang
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

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Turner, John
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

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Xiongfei Wang
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

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Turner, 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.conf by hand. because i do not know how to creat

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Turner, John
, 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

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Xiongfei Wang
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

RE: how to get apache-tomcat virtual host work?

2003-02-28 Thread Turner, John
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

get apache-tomcat virtual host

2003-02-27 Thread Xiongfei Wang
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

Apache + Tomcat + Virtual Host

2003-01-23 Thread Sebastião Carlos Santos
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

RE: Apache + Tomcat + Virtual Host

2003-01-23 Thread Turner, John
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

Re: Apache + Tomcat + Virtual Host

2003-01-23 Thread Lajos Moczar
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

Re: Apache + Tomcat + Virtual Host

2003-01-23 Thread Sebastião Carlos Santos
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

Re: Apache + Tomcat + Virtual Host

2003-01-23 Thread Lajos Moczar
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

RE: Apache + Tomcat + Virtual Host

2003-01-23 Thread Sebastião Carlos Santos
-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

Re: Apache + Tomcat + Virtual Host

2003-01-23 Thread Sebastião Carlos Santos
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

RE: Apache + Tomcat + Virtual Host

2003-01-23 Thread Turner, John
: 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

Re: JK2 workers2.properties (was Re: Apache Tomcat Virtual Host)

2003-01-21 Thread Rasputin
* 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]

Re: Apache Tomcat Virtual Host

2003-01-20 Thread adrian
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.

Apache Tomcat Virtual Host

2003-01-20 Thread Chris Schild
)! - 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

Apache Tomcat Virtual Host

2003-01-20 Thread Chris Schild
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

RE: Apache Tomcat Virtual Host

2003-01-20 Thread Turner, John
/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

Re: Apache Tomcat Virtual Host

2003-01-20 Thread Ed Robbins
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

RE: Apache Tomcat Virtual Host

2003-01-20 Thread Turner, John
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

Re: Apache Tomcat Virtual Host

2003-01-20 Thread Chris Schild
] 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

RE: Apache Tomcat Virtual Host

2003-01-20 Thread Turner, John
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

JK2 workers2.properties (was Re: Apache Tomcat Virtual Host)

2003-01-20 Thread Rasputin
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

Apache Tomcat Virtual Host

2003-01-19 Thread Chris Schild
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

Re: Apache Tomcat Virtual Host

2003-01-19 Thread Peng Tuck Kwok
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

RE: Apache + Tomcat Virtual Host not loading web.xml

2001-09-06 Thread Larry Isaacs
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

RE: Apache + Tomcat Virtual Host not loading web.xml

2001-09-06 Thread Neil Aggarwal
]] 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

RE: Apache + Tomcat Virtual Host not loading web.xml

2001-09-06 Thread Larry Isaacs
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

Apache + Tomcat Virtual Host not loading web.xml

2001-09-05 Thread Neil Aggarwal
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

Apache/Tomcat Virtual Host

2001-08-28 Thread Roberto B.
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