Re: Mimicking two distinct virtual hosts just like in HTTPd

2021-11-09 Thread Michael Osipov
Am 2021-11-08 um 17:36 schrieb Mark Thomas: On 08/11/2021 15:36, Michael Osipov wrote: Folks, consider the following in httpd.conf: Listen {IP}:8443 Listen {IP}:8444 later:    DocumentRoot /www/webapps1    ServerName {hostname}    mod_ssl config...    DocumentRoot /www/webapps2   

Re: Mimicking two distinct virtual hosts just like in HTTPd

2021-11-08 Thread Mark Thomas
On 08/11/2021 15:36, Michael Osipov wrote: Folks, consider the following in httpd.conf: Listen {IP}:8443 Listen {IP}:8444 later:   DocumentRoot /www/webapps1   ServerName {hostname}   mod_ssl config...   DocumentRoot /www/webapps2   ServerName {hostname}   mod_ssl config2... The

Mimicking two distinct virtual hosts just like in HTTPd

2021-11-08 Thread Michael Osipov
Folks, consider the following in httpd.conf: Listen {IP}:8443 Listen {IP}:8444 later: DocumentRoot /www/webapps1 ServerName {hostname} mod_ssl config... DocumentRoot /www/webapps2 ServerName {hostname} mod_ssl config2... The second virtual host shall deliver only a subset of

Re: listing all applications in manager across configured virtual hosts

2019-12-05 Thread Guild, Jason A (DOT)
4:08, Guild, Jason A (DOT) wrote: >> Hi all: >> >> We have configured a Tomcat with two virtual hosts, one for hosting >> client-facing applications on a "vanity" name, and the other for >> the "machine" which hosts private URLs for access to >

Re: listing all applications in manager across configured virtual hosts

2019-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jason, On 12/5/19 14:08, Guild, Jason A (DOT) wrote: > Hi all: > > We have configured a Tomcat with two virtual hosts, one for hosting > client-facing applications on a "vanity" name, and the other for > the "mac

listing all applications in manager across configured virtual hosts

2019-12-05 Thread Guild, Jason A (DOT)
Hi all: We have configured a Tomcat with two virtual hosts, one for hosting client-facing applications on a "vanity" name, and the other for the "machine" which hosts private URLs for access to admin/diagnostic functions by admins only. We have an instance of Tomcat ma

Re: Configuring Tomcat Clustering Solution for Virtual-Hosts

2019-09-23 Thread Christopher Schultz
nf/server.xml. Ths host manager may not be necessary. > I had tried configuring Tomcat Cluster for Virtual-Hosts, but needs > to confirm whether my approach is correct. Please find my queries > and server.xml files listed below. > > 1. Do I need to configure Multiple Cluster class for ea

Configuring Tomcat Clustering Solution for Virtual-Hosts

2019-09-19 Thread Vinu Vibhu Sobhana
tomcat can be used for such virtual hosting. I had tried configuring Tomcat Cluster for Virtual-Hosts, but needs to confirm whether my approach is correct. Please find my queries and server.xml files listed below. 1. Do I need to configure Multiple Cluster class for each Virtual-Host or a Single Clu

Re: RequestDispatcher.forward between 2 virtual hosts defined in the same Tomcat container

2015-08-11 Thread Mark Thomas
On 06/08/2015 13:40, Neha Munjal wrote: Hi, I would like to know if we can do servlet forwarding between 2 different webapps deployed on 2 different virtual hosts configured in the same Tomcat container. No. Mark So, I have configured 2 different virtual hosts in my Tomcat server.xml

RequestDispatcher.forward between 2 virtual hosts defined in the same Tomcat container

2015-08-06 Thread Neha Munjal
Hi, I would like to know if we can do servlet forwarding between 2 different webapps deployed on 2 different virtual hosts configured in the same Tomcat container. So, I have configured 2 different virtual hosts in my Tomcat server.xml as follows: Host name=firstservlet appBase=firstservletapps

Re: How to access multiple virtual hosts with a single SSL instance?

2014-08-13 Thread Christopher Schultz
to using Tomcat as a standalone server. My concern is how to use multiple virtual hosts with a single SSL instance running on the standard https port. With httpd server, I can access my webapp using the directory name in the URL. For example, if I have an app called app1, it uses URLs

Re: How to access multiple virtual hosts with a single SSL instance?

2014-08-13 Thread Mark Eggers
in front of Tomcat. I am wondering if I should change to using Tomcat as a standalone server. My concern is how to use multiple virtual hosts with a single SSL instance running on the standard https port. With httpd server, I can access my webapp using the directory name in the URL

How to access multiple virtual hosts with a single SSL instance?

2014-08-12 Thread Neil Aggarwal
Hello: Up until now, I have always run Apache in front of Tomcat. I am wondering if I should change to using Tomcat as a standalone server. My concern is how to use multiple virtual hosts with a single SSL instance running on the standard https port. With httpd server, I can access my webapp

RE: How to access multiple virtual hosts with a single SSL instance?

2014-08-12 Thread Neil Aggarwal
Hello all: How to use multiple virtual hosts with a single SSL instance running on the standard https port. I just came across SNI which allows me to use separate SSL certificates for each virtual server. Unfortunately, it looks like Tomcat does not yet support it. I guess I am sticking

Re: How to access multiple virtual hosts with a single SSL instance?

2014-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neil, On 8/12/14, 6:01 PM, Neil Aggarwal wrote: Up until now, I have always run Apache in front of Tomcat. I am wondering if I should change to using Tomcat as a standalone server. My concern is how to use multiple virtual hosts with a single

Re: How to access multiple virtual hosts with a single SSL instance?

2014-08-12 Thread Mark Eggers
concern is how to use multiple virtual hosts with a single SSL instance running on the standard https port. With httpd server, I can access my webapp using the directory name in the URL. For example, if I have an app called app1, it uses URLs that look like this: http://www.app1.com/app1

Re: Configuring mod_jk with multiple Apache HTTPD Virtual Hosts

2014-03-05 Thread Rainer Jung
On 04.03.2014 23:09, Doug Strick wrote: The F5 issues were just due to poor environment configuration. Each F5 VIP was sending traffic to the same pool and that pool was only configured for 1 member. That 1 member IP/port was used by several apache virtual hosts. So basically I never knew

Re: Configuring mod_jk with multiple Apache HTTPD Virtual Hosts

2014-03-04 Thread Doug Strick
a single apache httpd instance serving multiple domains with each going to a different CF instance. We really only want specific workers enabled for specific virtual hosts like below. test1.abc.com -- HTTPD test1 VirtualHost -- CF Test1 test2.abc.com -- HTTPD test2 VirtualHost -- CF Test2 test3

Re: Configuring mod_jk with multiple Apache HTTPD Virtual Hosts

2014-03-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Doug, On 3/4/14, 11:51 AM, Doug Strick wrote: I went over the documentation multiple times and the light bulb finally went on after everyone's input. Most of the mod_jk configs were built by the Coldfusion web server config tool so that's why

Re: Configuring mod_jk with multiple Apache HTTPD Virtual Hosts

2014-03-04 Thread Doug Strick
The F5 issues were just due to poor environment configuration. Each F5 VIP was sending traffic to the same pool and that pool was only configured for 1 member. That 1 member IP/port was used by several apache virtual hosts. So basically I never knew which virtual host was getting the request

Configuring mod_jk with multiple Apache HTTPD Virtual Hosts

2014-03-03 Thread Doug Strick
going to a different CF instance. We really only want specific workers enabled for specific virtual hosts like below. test1.abc.com -- HTTPD test1 VirtualHost -- CF Test1 test2.abc.com -- HTTPD test2 VirtualHost -- CF Test2 test3.abc.com -- HTTPD test3 VirtualHost -- CF Test3 Each CF instance

Re: Configuring mod_jk with multiple Apache HTTPD Virtual Hosts

2014-03-03 Thread André Warnier
domains with each going to a different CF instance. We really only want specific workers enabled for specific virtual hosts like below. test1.abc.com -- HTTPD test1 VirtualHost -- CF Test1 test2.abc.com -- HTTPD test2 VirtualHost -- CF Test2 test3.abc.com -- HTTPD test3 VirtualHost -- CF Test3

Re: Configuring mod_jk with multiple Apache HTTPD Virtual Hosts

2014-03-03 Thread Christopher Schultz
is the standard connector used. On our test environment we have a single apache httpd instance serving multiple domains with each going to a different CF instance. We really only want specific workers enabled for specific virtual hosts like below. test1.abc.com -- HTTPD test1 VirtualHost -- CF Test1

Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Kevin Jenkins
I'm trying to setup name based hosts by editing server.xml. http://masterserver2.raknet.com/ should display a different page than http://lobby3.raknet.com/ http://masterserver2.raknet.com/ The DNS entries are already setup. However, no matter what URL I put, it just goes to the localhost page

Re: Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Mark Eggers
On 3/31/2013 10:50 AM, Kevin Jenkins wrote: I'm trying to setup name based hosts by editing server.xml. http://masterserver2.raknet.com/ should display a different page than http://lobby3.raknet.com/ http://masterserver2.raknet.com/ The DNS entries are already setup. However, no matter what URL

Re: Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Mark Thomas
On 31/03/2013 18:50, Kevin Jenkins wrote: I'm trying to setup name based hosts by editing server.xml. http://masterserver2.raknet.com/ should display a different page than http://lobby3.raknet.com/ http://masterserver2.raknet.com/ The DNS entries are already setup. However, no matter what

Re: Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Kevin Jenkins
Thanks but I had already tried variations on the URL in Host name that before posting. Right now it's going to defaultHost (currently set to masterserver2.raknet.com) even though I enter http://lobby3.raknet.com/ in my webbrowser Engine name=Catalina defaultHost=localhost Host name=localhost

RE: Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Caldarale, Charles R
From: Kevin Jenkins [mailto:rak...@jenkinssoftware.com] Subject: Re: Can't get name based virtual hosts to work (Windows) Don't top post. It's annoying and confusing. Thanks but I had already tried variations on the URL in Host name that before posting. Right now it's going to defaultHost

Re: Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Kevin Jenkins
Finally got it working. Thanks to those that helped. Host name=localhost appBase=webapps/error unpackWARs=true autoDeploy=true Host name=www.masterserver2.raknet.com appBase=webapps/masterserver2 unpackWARs=true autoDeploy=true Aliasmasterserver2.raknet.com/Alias

Re: Can't get name based virtual hosts to work (Windows)

2013-03-31 Thread Mark Eggers
On 3/31/2013 1:32 PM, Kevin Jenkins wrote: Thanks but I had already tried variations on the URL in Host name that before posting. Right now it's going to defaultHost (currently set to masterserver2.raknet.com) even though I enter http://lobby3.raknet.com/ in my webbrowser Engine name=Catalina

Password protecting directories in virtual hosts

2013-02-14 Thread Dennis Gormley
Hello; I've been struggling with this for a couple of weeks now. I've searched web sites, forums and lists, but I can't seem to find the information I want. We have two web sites on a Tomcat 5.5 server (virtual hosts?). I didn't set up the server, but I've been tasked to password protect

Re: Password protecting directories in virtual hosts

2013-02-14 Thread Luciano Andress Martini
searched web sites, forums and lists, but I can't seem to find the information I want. We have two web sites on a Tomcat 5.5 server (virtual hosts?). I didn't set up the server, but I've been tasked to password protect a directory on one of the sites. I've already successfully password

Re: Password protecting directories in virtual hosts

2013-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dennis, On 2/14/13 3:22 PM, Dennis Gormley wrote: We have two web sites on a Tomcat 5.5 server (virtual hosts?). You should upgrade as soon as possible: Tomcat 5.5 is not longer supported. You should move to Tomcat 7.0 at your earliest

Re: Password protecting directories in virtual hosts

2013-02-14 Thread André Warnier
Dennis Gormley wrote: Hello; I've been struggling with this for a couple of weeks now. I've searched web sites, forums and lists, but I can't seem to find the information I want. We have two web sites on a Tomcat 5.5 server (virtual hosts?). I didn't set up the server, but I've been

RE: Tomcat 6.0 - JNDI resource caching over virtual hosts

2012-10-23 Thread Jan Kostelansky
I am using Tomcat 6.0.18 deployed as web service on Windows XP SP3. I created additional Host element in conf/server.xml, so I have two virtual hosts: localhost (default) and janko Host name=jankoappBase=itsapps !-- Access log processes all example

Re: Tomcat 6.0 - JNDI resource caching over virtual hosts

2012-10-23 Thread Pid
On 23/10/2012 16:55, Jan Kostelansky wrote: I am using Tomcat 6.0.18 deployed as web service on Windows XP SP3. I created additional Host element in conf/server.xml, so I have two virtual hosts: localhost (default) and janko Host name=jankoappBase=itsapps

Re: Tomcat 6.0 - JNDI resource caching over virtual hosts

2012-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan, On 10/23/12 11:55 AM, Jan Kostelansky wrote: I am using Tomcat 6.0.18 deployed as web service on Windows XP SP3. Upgrade: that version of Tomcat is 4 years old and has known security vulnerabilities (http://tomcat.apache.org/security-6.html).

Re: Tomcat 6.0 - JNDI resource caching over virtual hosts

2012-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 10/23/12 3:00 PM, Pid wrote: On 23/10/2012 16:55, Jan Kostelansky wrote: I am using Tomcat 6.0.18 deployed as web service on Windows XP SP3. I created additional Host element in conf/server.xml, so I have two virtual hosts

Re: Tomcat 6.0 - JNDI resource caching over virtual hosts

2012-10-23 Thread Pid
On 23/10/2012 21:54, Christopher Schultz wrote: Pid, On 10/23/12 3:00 PM, Pid wrote: On 23/10/2012 16:55, Jan Kostelansky wrote: I am using Tomcat 6.0.18 deployed as web service on Windows XP SP3. I created additional Host element in conf/server.xml, so I have two virtual hosts

Virtual Hosts, SSL, Tomcat

2011-10-15 Thread Mark Eggers
I potentially have the need to support multiple virtual hosts with SSL on a single IP address / port combination. This is called named virtual hosts on Apache HTTPD, and virtual hosts with a single connector on Tomcat. With a late version of Apache HTTPD / OpenSSL / mod_ssl, I can accomplish

Re: Virtual Hosts, SSL, Tomcat

2011-10-15 Thread Mark Thomas
On 15/10/2011 21:26, Mark Eggers wrote: I potentially have the need to support multiple virtual hosts with SSL on a single IP address / port combination. This is called named virtual hosts on Apache HTTPD, and virtual hosts with a single connector on Tomcat. With a late version of Apache

Re: Virtual Hosts, SSL, Tomcat

2011-10-15 Thread Mark Eggers
: Virtual Hosts, SSL, Tomcat On 15/10/2011 21:26, Mark Eggers wrote: I potentially have the need to support multiple virtual hosts with SSL on a single IP address / port combination. This is called named virtual hosts on Apache HTTPD, and virtual hosts with a single connector on Tomcat

Virtual hosts on Tomcat 7 for 3 webapps

2011-09-03 Thread Ioannis Parapontis
Hi there I have a server that runs 3 different web apps on the same ip but each on its own port. eg ip:8080, ip:8081 and ip:8082. All apps should run simultaneously and have their own folders. Can a single Tomcat support the 3 of them and can i use virtual hosts on Tomcat alone ? Thanks

Re: Virtual hosts on Tomcat 7 for 3 webapps

2011-09-03 Thread Manuel Fernández Panzuela
simultaneously and have their own folders. Can a single Tomcat support the 3 of them and can i use virtual hosts on Tomcat alone ? Thanks Sent from my iPhone - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Virtual hosts on Tomcat 7 for 3 webapps

2011-09-03 Thread Hassan Schroeder
the 3 of them and can  i use virtual hosts on Tomcat alone ? Yes. You don't need Apache httpd in front of Tomcat, and you don't even need to run on separate ports if you use named virtual servers. -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me

Re: Virtual hosts on Tomcat 7 for 3 webapps

2011-09-03 Thread Ioannis Parapontis
. All apps should run simultaneously and have their own folders. Can a single Tomcat support the 3 of them and can i use virtual hosts on Tomcat alone ? Thanks Sent from my iPhone - To unsubscribe, e-mail: users-unsubscr

Re: Virtual hosts on Tomcat 7 for 3 webapps

2011-09-03 Thread Hassan Schroeder
On Sat, Sep 3, 2011 at 3:25 PM, Ioannis Parapontis parapont...@gmail.com wrote: So it would be useful if some guidelines are provided on how i should do this. They are; see the documentation's virtual hosting how-to :-) -- Hassan Schroeder

Re: Virtual hosts on Tomcat 7 for 3 webapps

2011-09-03 Thread Mark Eggers
- Original Message - From: Ioannis Parapontis parapont...@gmail.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Saturday, September 3, 2011 3:25 PM Subject: Re: Virtual hosts on Tomcat 7 for 3 webapps T hanks for the responses. The  reason i do not use apache

Tomcat 6.0.29, Manager App, multiple virtual hosts

2010-10-07 Thread Brett Delle Grazie
Hi, I'm using Tomcat 6.0.29 with JVM 1.6.x with multiple virtual hosts. If the Tomcat manager app is only in a single vhost can the manager app be configured to control all applications in Tomcat, regardless of vhost? Or is it specific to the vhost its in? Reading the docs says its vhost

Re: Tomcat 6.0.29, Manager App, multiple virtual hosts

2010-10-07 Thread Mark Thomas
On 07/10/2010 16:26, Brett Delle Grazie wrote: Hi, I'm using Tomcat 6.0.29 with JVM 1.6.x with multiple virtual hosts. If the Tomcat manager app is only in a single vhost can the manager app be configured to control all applications in Tomcat, regardless of vhost? Or is it specific

Re: mod_jk and tomcat virtual hosts not connecting

2010-07-28 Thread Brett Delle Grazie
To: users@tomcat.apache.org Subject: mod_jk and tomcat virtual hosts not connecting Hi, First of all I would like to mention that this is my first post on this list, I hope that this question is sent in the right place. I have tried finding

mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Moritz Winter
xmlNamespaceAware=false [...] /Host Host name=jiraapp appBase=jiraapp docBase=/opt/tomcat/jiraapp unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false == apache example.com virtual hosts configuration file == VirtualHost *:80 ServerName www.jira.example.com ServerAlias jira.example.com

Re: mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Felix Schumacher
unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false [...] /Host Host name=jiraapp appBase=jiraapp docBase=/opt/tomcat/jiraapp unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false == apache example.com virtual hosts configuration file

Re: mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Moritz Winter
/tomcat/jiraapp unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false == apache example.com virtual hosts configuration file == VirtualHost *:80 ServerName www.jira.example.com ServerAlias jira.example.com I don't know what happens if you access your server through

RE: mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Irfan Khan
, July 27, 2010 7:11 PM To: users@tomcat.apache.org Subject: mod_jk and tomcat virtual hosts not connecting Hi, First of all I would like to mention that this is my first post on this list, I hope that this question is sent in the right place. I have tried finding a solution for my problem

APR usage question regarding multi-core and mutliple virtual hosts...

2010-06-28 Thread Tony Anecito
Hi All, I noticed using Firefox with a plugin yslow that it recommends using only 4 virtual hosts instead of the 16 I have for serving images. I am using a 6 core system and want to make sure I take advantage of it using Apache APR so I setup more than 4 virtual hosts. I am using multiple

Re: APR usage question regarding multi-core and mutliple virtual hosts...

2010-06-28 Thread Pid
On 28/06/2010 18:58, Tony Anecito wrote: Hi All, I noticed using Firefox with a plugin yslow that it recommends using only 4 virtual hosts instead of the 16 I have for serving images. Does it give an explanation for why 4 is better than 16? I am using a 6 core system and want to make

Re: basic 2 virtual hosts configuration

2010-06-16 Thread Mark Eggers
digital.disc...@gmail.com wrote: From: MB digital.disc...@gmail.com Subject: Re: basic 2 virtual hosts configuration To: Tomcat Users List users@tomcat.apache.org Date: Tuesday, June 15, 2010, 10:21 PM Caldarale, Charles R said: Nothing, but you must do it correctly. Yes, I figured that much

Re: basic 2 virtual hosts configuration

2010-06-16 Thread Pid
on Fedora 13 (Java 6.0.20). Works as advertised. just my two cents . . . /mde/ --- On Tue, 6/15/10, MB digital.disc...@gmail.com wrote: From: MB digital.disc...@gmail.com Subject: Re: basic 2 virtual hosts configuration To: Tomcat Users List users@tomcat.apache.org Date: Tuesday

Re: basic 2 virtual hosts configuration

2010-06-16 Thread Mark Eggers
: From: Pid p...@pidster.com Subject: Re: basic 2 virtual hosts configuration To: Tomcat Users List users@tomcat.apache.org Date: Wednesday, June 16, 2010, 2:58 AM On 16/06/2010 08:12, Mark Eggers wrote: MB, You can follow the instructions given for Tomcat 6 on this wiki page

Re: basic 2 virtual hosts configuration

2010-06-16 Thread Hassan Schroeder
On Tue, Jun 15, 2010 at 10:21 PM, MB digital.disc...@gmail.com wrote: http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html Thanks for your response, Hassan. Perhaps I should have been more clear what I had done already. I've read that page, took my time, cleaned out my old

Re: basic 2 virtual hosts configuration

2010-06-16 Thread MB
Hassan Schroeder said: That's what that virtual hosting how-to is *intended* to provide And? The how-to not very real world for people in my situation and doesn't contain all the relevant info in one page. That's what I intend to write when I get my head around it all. Unless I find a link to an

Re: basic 2 virtual hosts configuration

2010-06-16 Thread Hassan Schroeder
On Wed, Jun 16, 2010 at 11:29 AM, MB digital.disc...@gmail.com wrote: And? The how-to not very real world for people in my situation Too little real world You keep saying that, without detail. What is not real world about the content of the how-to? It is, after all, intended to be a

Re: basic 2 virtual hosts configuration

2010-06-16 Thread MB
Hassan Schroeder said: On Wed, Jun 16, 2010 at 11:29 AM, MB digital.disc...@gmail.com wrote: And? The how-to not very real world for people in my situation Too little real world You keep saying that, without detail. What is not real world about the content of the how-to? It is, after all,

Re: basic 2 virtual hosts configuration

2010-06-16 Thread Hassan Schroeder
On Wed, Jun 16, 2010 at 12:13 PM, MB digital.disc...@gmail.com wrote: I'm sorry Hassan, but I don't have time with a meta-debate right now. I'm not trying to debate anything, I'm trying to understand what *exactly* you found lacking so it can be improved. That the how-to didn't work out for

RE: basic 2 virtual hosts configuration

2010-06-16 Thread Caldarale, Charles R
From: MB [mailto:digital.disc...@gmail.com] Subject: Re: basic 2 virtual hosts configuration Listener className=org.apache.catalina.startup.TldConfig/ Why have you declared the above? Where in the doc does it say you should do that? Actually Tomcat did that. Tomcat did what

basic 2 virtual hosts configuration

2010-06-15 Thread MB
to deploy 2 virtual hosts in Tomcat 5.5.29 (no Apache) what more than the server.xml file below and a context.xml per each host in Catalina do you need to set up? Where do I set path, like for /? Alright in the context file (see below)? server.xml: ?xml version=1.0 encoding=UTF-8? Server port

Re: basic 2 virtual hosts configuration

2010-06-15 Thread Hassan Schroeder
On Tue, Jun 15, 2010 at 4:23 PM, MB digital.disc...@gmail.com wrote: GUIDES? Anyone that can point to a guide that focuses only on the steps necessary to configure Tomcat 5.5.x for 2 or more virtual hosts? In the documentation? http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting

RE: basic 2 virtual hosts configuration

2010-06-15 Thread Caldarale, Charles R
From: MB [mailto:digital.disc...@gmail.com] Subject: basic 2 virtual hosts configuration to deploy 2 virtual hosts in Tomcat 5.5.29 (no Apache) what more than the server.xml file below and a context.xml per each host in Catalina do you need to set up? Nothing, but you must do it correctly

Re: basic 2 virtual hosts configuration

2010-06-15 Thread MB
Caldarale, Charles R said: Nothing, but you must do it correctly. Yes, I figured that much. :) You don't set the path attribute - in almost all cases it is illegal (and / is never correct, under any circumstances - read the doc). Interesting. Time for a reread. Engine name=Catalina

RE: how to add subdomains dynamically, virtual hosts config

2010-03-26 Thread Caldarale, Charles R
From: Logan Scott [mailto:lo...@sqlist.com] Subject: how to add subdomains dynamically, virtual hosts config tomcat 6.0 Tomcat 6.0.? apache 2.0.55 That's getting a bit long in the tooth... jk connector Version? Now I would like to add the ability to issue subdomains in large numbers

Re: Tomcat+apache on name_based virtual hosts

2010-03-04 Thread Pid
From: chuck.caldar...@unisys.com To: users@tomcat.apache.org Date: Wed, 3 Mar 2010 12:17:47 -0600 Subject: RE: Tomcat+apache on name_based virtual hosts From: Jordan Michaels [mailto:jor...@viviotech.net] Subject: Re: Tomcat+apache on name_based virtual hosts You can do this by creating

Tomcat+apache on name_based virtual hosts

2010-03-03 Thread chenll
Hi, I have a server which has only one IP and runs on Windows XP. And I have two domain names: a.university.com and b.university.com. I have built two websites for both of them on the Apache 2. Now I installed another web application which runs on Tomcat 6, and want to load the web

Re: Tomcat+apache on name_based virtual hosts

2010-03-03 Thread Jordan Michaels
You can do this by creating new Host and Context entries in the server.xml file for each site. For example: Host name=a.university.com appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path=

Re: Tomcat+apache on name_based virtual hosts

2010-03-03 Thread Pid
On 03/03/2010 17:01, chenll wrote: Hi, I have a server which has only one IP and runs on Windows XP. And I have two domain names: a.university.com and b.university.com. I have built two websites for both of them on the Apache 2. Now I installed another web application which runs on Tomcat 6,

RE: Tomcat+apache on name_based virtual hosts

2010-03-03 Thread Caldarale, Charles R
From: Jordan Michaels [mailto:jor...@viviotech.net] Subject: Re: Tomcat+apache on name_based virtual hosts You can do this by creating new Host and Context entries in the server.xml file for each site. Please don't suggest putting Context elements in server.xml; that's ancient, dismal

RE: Tomcat+apache on name_based virtual hosts

2010-03-03 Thread chenll
: Wed, 3 Mar 2010 12:17:47 -0600 Subject: RE: Tomcat+apache on name_based virtual hosts From: Jordan Michaels [mailto:jor...@viviotech.net] Subject: Re: Tomcat+apache on name_based virtual hosts You can do this by creating new Host and Context entries in the server.xml file for each site

Re: Tomcat 6 and Apache 2 - using Tomcat 6 with virtual hosts

2010-02-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/6/2010 7:35 PM, Caldarale, Charles R wrote: From: Sam Anderson [mailto:sam...@gmail.com] Subject: Tomcat 6 and Apache 2 - using Tomcat 6 with virtual hosts Tomcat needs a hard restart in order for it to work. Nope. You can add

Tomcat 6 and Apache 2 - using Tomcat 6 with virtual hosts

2010-02-06 Thread Sam Anderson
Hi there everyone. Firstly, i hope this is the correct list to post to. I have been using Tomcat 6 with Apache2 on Debian Lenny for the purposes of hosting multiple Railo websites on the same server. My question is related to virtual hosting and Tomcat 6. I need to be able to create new

RE: Tomcat 6 and Apache 2 - using Tomcat 6 with virtual hosts

2010-02-06 Thread Caldarale, Charles R
From: Sam Anderson [mailto:sam...@gmail.com] Subject: Tomcat 6 and Apache 2 - using Tomcat 6 with virtual hosts Tomcat needs a hard restart in order for it to work. Nope. You can add and remove virtual hosts on the fly with the host-manager app that comes with Tomcat. Unfortunately

Virtual hosts on tomcat 5.5.15

2009-11-18 Thread Matthias Pueski
Hi everybody, currently I am running a few virtual domains on a root server with tomcat 5.5.15 installed. So far everything works fine. Now I just wanted to upgrade to the latest 5.5.x series in fact migrate to version 5.5.28. For example a virtual host on tomcat 5.5.15 has been configured as

Re: Virtual hosts on tomcat 5.5.15

2009-11-18 Thread Pid
On 18/11/2009 08:09, Matthias Pueski wrote: Hi everybody, currently I am running a few virtual domains on a root server with tomcat 5.5.15 installed. So far everything works fine. Now I just wanted to upgrade to the latest 5.5.x series in fact migrate to version 5.5.28. For example a virtual

RE: Virtual hosts on tomcat 5.5.15

2009-11-18 Thread Caldarale, Charles R
From: Matthias Pueski [mailto:matth...@pueski.de] Subject: Virtual hosts on tomcat 5.5.15 Host name=www.blah.de debug=0 unpackWARs=true appBase=/home/blah Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=virtual_log. suffix=.txt timestamp=true

RE: Virtual hosts on tomcat 5.5.15

2009-11-18 Thread Matthias Pueski
the appBase Now everything works fine. Am Mittwoch, den 18.11.2009, 08:18 -0600 schrieb Caldarale, Charles R: From: Matthias Pueski [mailto:matth...@pueski.de] Subject: Virtual hosts on tomcat 5.5.15 Host name=www.blah.de debug=0 unpackWARs=true appBase=/home/blah Logger className

Testing Tomcat with Virtual Hosts

2009-11-17 Thread Marty Pitt NZ
'm trying to test Tomcat virtual hosts on my dev machine (windows 7/Tomcat 6). I'd like to have requests for localhost, test1.localhost and test2.localhost all route through to the same tomcat instance. I've edited my hosts file to look as follows: 127.0.0.1 localhost ::1

RE: Testing Tomcat with Virtual Hosts

2009-11-17 Thread Caldarale, Charles R
From: Marty Pitt NZ [mailto:martyp...@me.com] Subject: Testing Tomcat with Virtual Hosts I've edited my hosts file to look as follows: 127.0.0.1 localhost ::1 localhost 127.0.0.1 test1.localhost localhost test2.localhost The last line is a little odd; why

Re: Virtual Hosts and manager application.

2009-08-27 Thread Wesley Acheson
Thank you this seems to have fixed my problems. Regards, Wes On Mon, Aug 24, 2009 at 9:10 PM, Pid p...@pidster.com wrote: On 24/08/2009 16:09, Wesley Acheson wrote: Hi, Host name=applications.westest.example.com appbase=/home/servers/applications.westest

Re: Virtual Hosts and manager application.

2009-08-25 Thread Christopher Schultz
/kinetic/tomcat6/server/webapps/manager /Context Somebody boned those instructions: the path attribute should not be set. If you have Tomcat configured to support multiple virtual hosts (websites) you would need to configure a Manager for each. Yup, and it's as easy as duplicating the manager.xml

Virtual Hosts and manager application.

2009-08-24 Thread Wesley Acheson
Hi, I'm using the following configuration. *VERSION*: Tomcat 6.0.20* OS*: Fedora core 9 *uname -a*: Linux attacker.myriad.local 2.6.27.25-78.2.56.fc9.i686 #1 SMP Thu Jun 18 12:47:50 EDT 2009 i686 i686 i386 GNU/Linux *install path*: /home/servers/apache-tomcat-6.0.20 On *another* machine (windows

Re: Virtual Hosts and manager application.

2009-08-24 Thread Wesley Acheson
Thanks Jonathan. I've tried but I get the same or a similar result. See its right when the WARNING is issued but wrong two lines down. * manager.xml* ?xml version=1.0 encoding=UTF-8? Context docBase=/home/servers/apache-tomcat-6.0.20/webapps/manager privileged=true

Re: Virtual Hosts and manager application.

2009-08-24 Thread Jonathan Mast
Try placing the literal path to the manager in there instead of the ${catalina.home} variable. On Mon, Aug 24, 2009 at 11:09 AM, Wesley Acheson wesley.ache...@gmail.comwrote: Hi, I'm using the following configuration. *VERSION*: Tomcat 6.0.20* OS*: Fedora core 9 *uname -a*: Linux

Re: Virtual Hosts and manager application.

2009-08-24 Thread Jonathan Mast
You need to specify the path attribute in the Context tag. I would recommend something other than just manager as I've see malicious bots looking for it. I would also remove the anitResourceLocking and antiJARLocking attrs, why do you think you need them? On Mon, Aug 24, 2009 at 11:21 AM,

Re: Virtual Hosts and manager application.

2009-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, On 8/24/2009 11:39 AM, Jonathan Mast wrote: You need to specify the path attribute in the Context tag. Er, no. The name of the file specifies the context path. No path attribute is necessary. In fact, it will likely confuse things.

Re: Virtual Hosts and manager application.

2009-08-24 Thread Wesley Acheson
Hi All, Comments below. The one thing that may be unusual about my server.xml (see initial email) is the fact that server.xml is specifying docRoots that are parellel with my tomcat installation not in a sub folder. I've a sneaking suspicion that this would fix the problem but I don't want to do

Re: Virtual Hosts and manager application.

2009-08-24 Thread Pid
On 24/08/2009 16:09, Wesley Acheson wrote: Hi, Host name=applications.westest.example.com appbase=/home/servers/applications.westest unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false /Host Assuming that you've

Re: Virtual Hosts and manager application.

2009-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wes, On 8/24/2009 12:18 PM, Wesley Acheson wrote: Comments below. The one thing that may be unusual about my server.xml (see initial email) is the fact that server.xml is specifying docRoots that are parellel with my tomcat installation not in a

Re: Virtual Hosts and manager application.

2009-08-24 Thread Wesley Acheson
to support multiple virtual hosts (websites) you would need to configure a Manager for each. Honestly my first version of the manager.xml was a simple copy out of a host created with host manager. I thought this was the easiest way to get a working config, without being limited

Re: apache2.2 tomcat5.5.27 Windows 2008 virtual hosts

2009-08-19 Thread java piet
, Aug 16, 2009 at 9:02 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: java piet [mailto:javap...@gmail.com] Subject: Re: apache2.2 tomcat5.5.27 Windows 2008 virtual hosts The reason for the Apache http server is because I thought I need it to handle the virtual

Re: apache2.2 tomcat5.5.27 Windows 2008 virtual hosts

2009-08-17 Thread java piet
tomcat5.5.27 Windows 2008 virtual hosts The reason for the Apache http server is because I thought I need it to handle the virtual hosting. No, Tomcat can handle that quite well: http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html As for the port 80, something else is already

Re: apache2.2 tomcat5.5.27 Windows 2008 virtual hosts

2009-08-17 Thread java piet
accessed through 8081. Hope this gives a clearer picture. Kind regards. Piet On Sun, Aug 16, 2009 at 9:02 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: java piet [mailto:javap...@gmail.com] Subject: Re: apache2.2 tomcat5.5.27 Windows 2008 virtual hosts

  1   2   3   4   >