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.

RE: Apache + Tomcat + Virtual Host

2003-01-23 Thread Turner, John
VirtualHost 200.131.195.9 DocumentRoot /web/admged ServerName www.admged.ufu.br JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 /VirtualHost I think, assuming /web is your Host's appBase: Context path= docBase=admged debug=0 reloadable=true crossContext=true / If

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
John, My great problem is that my application won't be put on the $CATALINA_HOME. The / web was an assembly point, as any any other one (for instance / opt, / home, / usr) defined in the moment of the installation. The $CATALINA_HOME appears for /

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.

RE: Apache Tomcat Virtual Host

2003-01-20 Thread Turner, John
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 with Tomcat. The problem is that I cannot get the examples/jsp to work

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

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
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 guarantees you can access the servlet by name with just a servlet-name. That nitpick aside, I assume you are using Tomcat 3.2.x. Neither mod_jk

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