Virtual Hosts

2006-12-27 Thread Víctor Fragoso
Hello everyone, I've been reading that it is possible to have different hosts in the apache tomcat, and each host could have a different appBase attribute. I've configured my server.xml in order to have 2 different hosts. Well my question is, Do I have to configure anything else? because, I want e

Virtual hosts

2007-11-07 Thread Rocco Scappatura
Hello, I would like to know if is there a similar concept to the 'VirtualHost' directive of Apache, in Tomcat. I have set up a web app that respond at the URL http:///path I'ld like to masquarade ti url with another one of the form http://. It is possible to do so in Tomcat? Suppose then that I

Dynamic virtual hosts

2006-01-03 Thread Brian Shacklett
I'm setting up a development environment using Apache httpd and Tomcat. I want to set up two different areas for each site: development and staging. The development area will be for constantly changing files and will reside in /home/[username]/development/[domain]. The staging area will be more

Two Virtual Hosts

2006-08-06 Thread Li
Hi, I am having one webapp running on tomcat 5.5. There is a JDBCRealm configured for form authentication for the webapp. Now I have to deploy another webapp onto Tomcat but the db table used for auth is different from the deployed one. Is there a possible way of making two different JDBCRealm f

Creating Virtual Hosts

2006-05-08 Thread Jorge Isaac Martínez Hatch
. - A keystore and alias for each certificate. I think I need to configure two hosts (or virtual hosts, what's the difference between these?), and setup two HTTPS connectors with IP based scheema. I tried using the following configuration: ... redirectPort="443" co

Tomcat Virtual Hosts

2006-06-20 Thread Leonel
gical host must have its own servlet context or set of servlet contexts. Servlet contexts can not be shared across virtual hosts. - I'm developing a blog which I need to be used by different domains wich according to the specI need tomake the context directory to each domai

Re: Virtual Hosts

2006-12-27 Thread Hassan Schroeder
On 12/27/06, Víctor Fragoso <[EMAIL PROTECTED]> wrote: ... but when I try it, just a blank page shows up And there are no errors in the logs? Look there first. Also, perhaps this will help: If not, post the relevant parts of your ser

Re: Virtual Hosts

2006-12-27 Thread Víctor Fragoso
Hey, thanks for the help, I made it! Cheers! On 12/27/06, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 12/27/06, Víctor Fragoso <[EMAIL PROTECTED]> wrote: > ... but when I try it, just a blank page shows up And there are no errors in the logs? Look there first. Also, perhaps this will hel

RE: Virtual Hosts

2006-12-28 Thread Gormley, Josh
bject: Re: Virtual Hosts On 12/27/06, Víctor Fragoso <[EMAIL PROTECTED]> wrote: > ... but when I try it, just a blank page shows up And there are no errors in the logs? Look there first. Also, perhaps this will help: <http://webtuitive.com/samples/virtual-hosting-howto.jsp> If no

Re: Virtual Hosts

2006-12-28 Thread Mikolaj Rydzewski
Gormley, Josh wrote: Does anybody have a good tutorial on how to do this with Apache sitting in front of Tomcat? I'd like to have a single server with multiple one-to-one domainname-to-webapp apps running in Tomcat such that I can hot deploy one webapp in Tomcat without affecting the other we

Re: Virtual Hosts

2006-12-28 Thread ben short
e- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 27, 2006 10:33 AM To: Tomcat Users List Subject: Re: Virtual Hosts On 12/27/06, Víctor Fragoso <[EMAIL PROTECTED]> wrote: > ... but when I try it, just a blank page shows up And there are no errors in the lo

Re: Virtual Hosts

2006-12-28 Thread Mikolaj Rydzewski
ben short wrote: I have used something like the following with mod proxy. This goes in your apache config file ServerName www.domainname.co.uk ServerAlias www.domainname.com ProxyPass / http://192.168.100.20:8080/yourwebapp/ ProxyPassReverse / http://192.168.100.20:8080/youwebapp/ ProxyRequest

Re: Virtual Hosts

2006-12-28 Thread Mikolaj Rydzewski
ben short wrote: I have used something like the following with mod proxy. This goes in your apache config file ServerName www.domainname.co.uk ServerAlias www.domainname.com ProxyPass / http://192.168.100.20:8080/yourwebapp/ ProxyPassReverse / http://192.168.100.20:8080/youwebapp/ This will no

RE: Virtual Hosts

2006-12-28 Thread Gormley, Josh
o:[EMAIL PROTECTED] Sent: Thursday, December 28, 2006 8:42 AM To: Tomcat Users List Subject: Re: Virtual Hosts Gormley, Josh wrote: > Does anybody have a good tutorial on how to do this with Apache sitting in front of Tomcat? I'd like to have a single server with multiple one-to-one domainname

Re: Virtual Hosts

2006-12-28 Thread Mikolaj Rydzewski
Gormley, Josh wrote: As a side question, is this possible to do without modifying the server.xml file every time I want to add a new host? I've read that it's bad practice to modify the server.xml file much like it's bad practice to modify the httpd.conf file in Apache. In Apache, I have a vhos

Virtual hosts problem

2007-09-08 Thread micker
Hi, I have just installed tomcat5.5 on my fedora 7 server, and I need to configure some virtual hosts for the first time. I have searched the internet for some conclusive guide, but none seem to work. this is what i have so far: www.micker.dk This works, except when i need to

RE: Virtual hosts

2007-11-07 Thread Caldarale, Charles R
> From: Rocco Scappatura [mailto:[EMAIL PROTECTED] > Subject: Virtual hosts > > I would like to know if is there a similar concept to the > 'VirtualHost' directive of Apache, in Tomcat. It's not by any means identical, but the Tomcat documentation

SSL Virtual Hosts

2007-11-08 Thread Carl Vorster
Hi, I'm trying to set up the following config, but am not sure how to do it. I want to run virtual hosts through one IP on port 80 - this is easy enough by looking at the docs. I then want to run SSL hosts; but every SSL host must map to its own IP due to SSL configs. Example: 192.16

RE: Virtual hosts

2007-11-13 Thread Rocco Scappatura
> > I would like to know if is there a similar concept to the > > 'VirtualHost' directive of Apache, in Tomcat. > > It's not by any means identical, but the Tomcat documentation > for the concept is here: > http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html > OK. Thanks. > > S

Deploying new virtual hosts

2005-12-01 Thread George Sexton
I'm trying to sort out a way I can automate deploying new virtual hosts on my Tomcat server. Right now I'm running about 70 virtual hosts. Each virtual host has only one ROOT context. I'm planning on scaling up to at least 200 virtual hosts before I need to get a second machine. The

Deploying new virtual hosts

2005-12-02 Thread Terence M. Bandoian
wrote: >> >>> I'm trying to sort out a way I can automate deploying new virtual >>> hosts on >>> my Tomcat server. Right now I'm running about 70 virtual hosts. Each >>> virtual >>> host has only one ROOT context. I'm planning on scalin

Deploying new virtual hosts

2005-12-04 Thread Terence M. Bandoian
Hi- I'd suggest searching the Internet for "web hosting control panel". You'll likely need to sort through the features provided and select according to the requirements of your project. As you might imagine, support is included, sometimes optionally, for a wide range of services including Tomca

SSL on Virtual Hosts

2006-02-02 Thread Antonio W. Lagnada
Hi All, As far as I know there's only one place to set the keystore in tomcat ( server.xml). Will tomcat support https on virtual domains? If I have placed "www.host1.com" and "www.host2.com" on my keystore, will tomcat map the correct domain entry? Right now I think the first entry gets

RE: Two Virtual Hosts

2006-08-06 Thread Richard Mixon
: Two Virtual Hosts Hi, I am having one webapp running on tomcat 5.5. There is a JDBCRealm configured for form authentication for the webapp. Now I have to deploy another webapp onto Tomcat but the db table used for auth is different from the deployed one. Is there a possible way of making two

Re: Two Virtual Hosts

2006-08-06 Thread Li
l - in server.xml or in context.xml? -Original Message- From: Li [mailto:[EMAIL PROTECTED] Sent: Sunday, August 06, 2006 8:01 PM To: Tomcat Users List Subject: Two Virtual Hosts Hi, I am having one webapp running on tomcat 5.5. There is a JDBCRealm configured for form authentication for the

RE: Two Virtual Hosts

2006-08-06 Thread Richard Mixon
: Two Virtual Hosts Tomcat 5.5.15, OS (Fedora Core 4) The JDBCRealm I defined for deployed one is in server.xml, any idea? On 8/7/06, Richard Mixon <[EMAIL PROTECTED]> wrote: > More information is needed to help. > > What version of Tomcat, what version of your OS. Also, where are

Re: Two Virtual Hosts

2006-08-06 Thread Hassan Schroeder
On 8/6/06, Li <[EMAIL PROTECTED]> wrote: The JDBCRealm I defined for deployed one is in server.xml, any idea? Yes -- read the Fine Manual: :: which directly addresses your issue :-) -- Hassan Schroeder [EMA

Re: Two Virtual Hosts

2006-08-06 Thread Li
hi thanks, Simply creating two context solved problem. I appreciated you guys' help On 8/7/06, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 8/6/06, Li <[EMAIL PROTECTED]> wrote: > The JDBCRealm I defined for deployed one is in server.xml, any idea? Yes -- read the Fine Manual:

Deployment and virtual hosts

2006-08-31 Thread Marcelo Chryssovergis
Hello list! I´m having a problem to deploy an aplication that is configured as a virtual domain in server.xml. When I deploy the application it works fine IF I use the default url. But when I use my subdomain (x.y.com) , the application is not deployed!! I have to restart tomcat, and then t

Deployment and virtual hosts

2006-09-01 Thread Marcelo Chryssovergis
Hello! I´m having a problem to deploy an aplication that is configured as a virtual domain in server.xml. When I deploy the application it works fine IF I use the default url. But when I use my subdomain (x.y.com) , the application is not deployed!! I have to restart tomcat, and then the chang

RE: Creating Virtual Hosts

2006-05-08 Thread Chris Berthold
rom: Jorge Isaac Martínez Hatch [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 9:26 AM To: Tomcat Users List Subject: Creating Virtual Hosts Genius all around the world, Goal: Intall two SSL certificates in the same server, but working for two different IP addresses and domains. I have: - One

Re: Creating Virtual Hosts

2006-05-08 Thread Paul Singleton
easier to manage than two) I think I need to configure two hosts (or virtual hosts, what's the difference between these?) A "physical" host is a hardware server, which may support many virtual hosts, either name-based (several at one IP address, Tomcat steers requests to correspon

Re: Creating Virtual Hosts

2006-05-08 Thread Jorge Isaac Martínez Hatch
t; Sent: Monday, May 08, 2006 10:31 AM Subject: Re: Creating Virtual Hosts Jorge Isaac Martínez Hatch wrote: Genius all around the world, Goal: Intall two SSL certificates in the same server, but working for two different IP addresses and domains. I have: - One server running Tomcat 5.5 over Wi

Re: Creating Virtual Hosts

2006-05-08 Thread Paul Singleton
Jorge Isaac Martínez Hatch wrote: SEVERE: Error starting endpoint java.net.BindException: Cannot assign requested address: JVM_Bind:443 Probably the port is already in use, perhaps by a task left over from your previous attempts. Can you reboot and try again? Or do you have another web serve

Re: Creating Virtual Hosts

2006-05-08 Thread Jorge Isaac Martínez Hatch
k you very mucho for your time and your help. Isaac Martínez - Original Message - From: "Paul Singleton" <[EMAIL PROTECTED]> To: "Tomcat Users List" Cc: <[EMAIL PROTECTED]> Sent: Monday, May 08, 2006 5:31 PM Subject: Re: Creating Virtual Hosts Jorge

Re: Virtual hosts problem

2007-09-08 Thread Mark Thomas
micker wrote: > I have searched the internet for some conclusive guide, but none seem to > work. You could always try the Tomcat documentation: http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html > where have I screwed up? You set appBase == docBase I'll look into adding some mor

RE: Virtual hosts problem

2007-09-08 Thread Caldarale, Charles R
> From: micker [mailto:[EMAIL PROTECTED] > Subject: Virtual hosts problem > > I have searched the internet for some conclusive guide, but > none seem to work. Why not read the actual Tomcat doc first? Besides the link Mark T provided, here's the general one for Tomcat-sp

Re: SSL Virtual Hosts

2007-11-08 Thread Hassan Schroeder
On Nov 8, 2007 8:27 AM, Carl Vorster <[EMAIL PROTECTED]> wrote: > I then want to run SSL hosts; but every SSL host must map to its own IP due > to SSL configs. You need a separate Connector for each SSL IP. -- Hassan Schroeder [EMAIL PROTECTED]

IIS Redirect and Virtual Hosts

2005-11-07 Thread Steve Stearns
I've searched quite a bit for an answer to this question but have not had a lot of luck. I'm trying to configure an IIS server to use AJP13 to communicate with Tomcat 5.0. The trick here is that I want IIS to be able to host multiple virtual hosts from a single IP and have it be

Re: Deploying new virtual hosts

2005-12-02 Thread Mikolaj Rydzewski
George Sexton wrote: I'm trying to sort out a way I can automate deploying new virtual hosts on my Tomcat server. Right now I'm running about 70 virtual hosts. Each virtual host has only one ROOT context. I'm planning on scaling up to at least 200 virtual hosts before I need

RE: Deploying new virtual hosts

2005-12-02 Thread George Sexton
j Rydzewski [mailto:[EMAIL PROTECTED] > Sent: Friday, December 02, 2005 4:51 AM > To: Tomcat Users List > Subject: Re: Deploying new virtual hosts > > Have you tried embeded tomcat? It's very easy to set up, and add new > hosts, contexts, etc. on the fly. So it would be poss

RE: Deploying new virtual hosts

2005-12-03 Thread George Sexton
2, 2005 2:08 PM > To: users@tomcat.apache.org > Subject: Deploying new virtual hosts > > Hi- > > For that many virtual domains, you may want to investigate using a > commercial hosting application that allows you to manage the > server from > a web interface. They are

RE: SSL on Virtual Hosts

2006-02-02 Thread George Sexton
age- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Antonio W. Lagnada > Sent: Thursday, February 02, 2006 12:52 PM > To: users@tomcat.apache.org > Subject: SSL on Virtual Hosts > > Hi All, > > As far as I know there's only one pla

Re: Deployment and virtual hosts

2006-08-31 Thread Mark Thomas
Marcelo Chryssovergis wrote: > Hello list! > > I´m having a problem to deploy an aplication that is configured as a > virtual domain in server.xml. When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject lin

duplicate deploy with virtual hosts

2006-03-07 Thread Dan Adams
Okay, I have a working configuration with 2 virtual hosts but I would like to have tomcat extract the wars automatically without auto-deploying them to their own webapps because this causes my applications to get launched twice each. I tried setting unpackWARs="true" and deployOnStar

virtual hosts on tomcat 5.0.28

2006-04-04 Thread Jeanne Case
I have been trying to create a virtual host with tomcat 5.0.28 to no avail. I have read all the docs. read the Wiki. and still no joy. I must be missing something very fundamental and obvious to long time users of tomcat that is not obvious to me. I was hoping to leave up the manager and adm

Virtual Hosts + Tomcat 5 + Windows

2006-05-09 Thread Jorge Isaac Martínez Hatch
Hi, I found information of how to create a virtual host adding some code to the httpd.conf file, but I'm running Windows not Linux. I don't have a httpd.conf file. Should I put this code somewhere else? maybe in the server.xml? ServerName www.somedomain.com DocumentRoot [path] Serv

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Gormley, Josh
- From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED] Sent: Thursday, December 28, 2006 9:34 AM To: Tomcat Users List Subject: Re: Virtual Hosts Gormley, Josh wrote: > As a side question, is this possible to do without modifying the > server.xml file every time I want to add a new host? I'v

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Mark Eggers
in the web application's META-INF directory with the same context information. Once you separate each of the virtual hosts so that subdirectories don't overlap, I think you will find that multiple manager applications work. The manager application will then be specific to the virtual host

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Caldarale, Charles R
> From: Mark Eggers [mailto:[EMAIL PROTECTED] > Subject: RE: Virtual Hosts [mostly solved] > > For a root context, I usually set up an > application.xml file in conf/Catalina// with > the appropriate path="" in the Context element That's incorrect for all rec

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Caldarale, Charles R
> From: Gormley, Josh [mailto:[EMAIL PROTECTED] > Subject: RE: Virtual Hosts [mostly solved] > > * Not having to modify server.xml directly. According to the Tomcat > docs, you shouldn't modify this file. I think you may have misconstrued something in the docs. T

RE: Virtual Hosts [mostly solved]

2006-12-29 Thread Gormley, Josh
>> * Not having to modify server.xml directly. According to the Tomcat >> docs, you shouldn't modify this file. > I think you may have misconstrued something in the docs. There's > nothing wrong with modifying server.xml; for example, production > environments must change it and web.xml to

logging access for virtual hosts

2007-03-05 Thread teknokrat
If I want to set up virtual hosts with their own loggers, must I add the valve in server.xml or is it possible to do this with context.xml file? thanks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e

Virtual Hosts or Multiple Instances

2007-11-14 Thread D W
Hi all, I run multiple servers, and have experimented with both virtual hosting within in a single server.xml and CATALINA, and have also tried setting up separate Tomcat instances each with their own CATALINA_BASE. Both have worked in my experiments. Does anybody have an opinion as to which app

Tomcat virtual hosts and ssl

2008-02-03 Thread Mathias P.W Nilsson
guage // Mathias -- View this message in context: http://www.nabble.com/Tomcat-virtual-hosts-and-ssl-tp15261633p15261633.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail:

Selective ports without virtual hosts

2008-02-15 Thread Greg Jewell
: https://host/app/a http://host/app/b and disallow this: http://host/app/a I have read the FAQ on how to set up virtual hosts, but this isn't really a desirable solution for this case. Is there a way to do this without using virtual hosts? I am using Tomcat 5.5, but may have the opti

Virtual Hosts and 'Hot' Redeployment

2008-07-03 Thread Martin Harrigan
Hi all, I have the following problem with tomcat 6.0: I have two webapps, ROOT and myWebApp. ROOT is deployed to /var/lib/tomcat-6/webapps and has the following entry in server.xml: I can reach it fine through http://1.2.3.4/ and if I redeploy ROOT (using the tomcat-maven-plugin), I do not need

Re: Help figuring out Virtual Hosts

2005-10-13 Thread Dola Woolfe
Hi, Getting back to this on a delay because: I just can't figure it out!!! This is probably because I'm dumb, but it's just too complicated for me. Can someone please provide an example that would illustrate how to do this? All I want is for the user to be able to enter "serverA" in his/her bro

Re: Help figuring out Virtual Hosts

2005-10-13 Thread Hassan Schroeder
Dola Woolfe wrote: > All I want is for the user to be able to enter > "serverA" in his/her browser and be forwarded to > "http://server/appA/index.jsp"; and the enter "serverB" > and be forwarded to "http://server/appB/index.jsp";. There is no "forwarding" to be done. You have two hosts, 'server

SV: Help figuring out Virtual Hosts

2005-10-14 Thread Michael Salmon
Hi Dola This instruktion worked for me: http://www.ex-parrot.com/~pete/tomcat-vhost.html /Michael -Oprindelig meddelelse- Fra: Dola Woolfe [mailto:[EMAIL PROTECTED] Sendt: 14. oktober 2005 03:11 Til: Tomcat Users List Emne: Re: Help figuring out Virtual Hosts Hi, Getting back to

Re: Help figuring out Virtual Hosts

2005-10-24 Thread Tom Burke
Hassan You posted this answer out a week or more ago. I'd just to like to respond by saying that I, too, had a problem with virtual hosts and was able to solve it by following your comments. In particular I had not understood before that I needed to have a ROOT.xml in the virtual h

Re: Help figuring out Virtual Hosts

2005-10-28 Thread Tom Burke
I wrote a few days ago saying that the contribution below had solved my problems. Not entirely... They did so when attempting to configure virtual hosts on a test machine within my own network on a Windows XP laptop. Now I am trying to replicate the configuration on a Linux server. I have

Re: Help figuring out Virtual Hosts

2005-10-28 Thread Hassan Schroeder
Tom Burke wrote: > Now I am trying to replicate the configuration on a Linux server. And there's no difference, other than the direction of the path separators :-) > I have > configured a second host entry in server.xml, it has a doc-base and the > doc-base directory exists. I am now trying to

Howto configure tomcat on virtual hosts

2006-07-26 Thread Uwe Petrasch
Hello, can anybody explain howto configure tomcat to run two different applications on a W2k3 server with IIS6 as Webserver and two IP's and the same name: 192.168.111.11/app (Dir.Service Auth) -> Tomcat/app -> e:/app1/ W2K3->IIS6 ->

multiple virtual hosts and ssl certificates

2006-08-25 Thread teknokrat
I am trying to set up tomcat with multiple virtual hosts, each with their own SSL certificate. Is this possible? Do I add each certificate to the main keystore as per one host? cheers - To start a new topic, e-mail: users

Apache httpd + (internal) Tomcat + virtual hosts

2006-09-19 Thread Carlos A. Carnero Delgado
Hello, I have a Tomcat box (running 5.0.30) for production code. There, our dev team deploys applications as they finish them, under different contexts. We want these applications to be available under an Apache httpd (2.0.55) Internet-facing server, each on a virtual host: http://dev.box:8180/

Subdomains/ Virtual Hosts+ Tomcat 5.5/6.0

2007-07-28 Thread Łukasz Łapiński
Hello, I am not really sure where to start. Whether it should be a dns modification or virtual hosts in tomcat? I am doing a web portal that a user after registration would have its own domain, such as: max.foo.com jarek.foo.com at my server foo.com. How to add programmatically, without

Re: Virtual Hosts + Tomcat 5 + Windows

2006-05-09 Thread Marc Farrow
The HTTPD.CONF file is an Apache file, not a Tomcat file. You are mixing two different products. On 5/9/06, Jorge Isaac Martínez Hatch <[EMAIL PROTECTED]> wrote: Hi, I found information of how to create a virtual host adding some code to the httpd.conf file, but I'm running Windows not Linux.

Re: Virtual Hosts + Tomcat 5 + Windows

2006-05-09 Thread Jorge Isaac Martínez Hatch
ent: Tuesday, May 09, 2006 2:41 PM Subject: Re: Virtual Hosts + Tomcat 5 + Windows The HTTPD.CONF file is an Apache file, not a Tomcat file. You are mixing two different products. On 5/9/06, Jorge Isaac Martínez Hatch <[EMAIL PROTECTED]> wrote: Hi, I found information of how to create

Re: logging access for virtual hosts

2007-03-05 Thread Markus Schönhaber
teknokrat wrote: > If I want to set up virtual hosts with their own loggers, must I add the > valve in server.xml or is it possible to do this with context.xml file? You seem to mix virtual hosts and context.xml files. Anyway: you can specify, for example, an AccessLogValve inside a C

Re: Virtual Hosts or Multiple Instances

2007-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Duane, D W wrote: > Does anybody have an opinion as to which approach is better? > > Resource-wise? Certainly, fewer memory and CPU resources are required to run a single JVM with virtual hosting. > Management-wise? That depends on how to see mana

RE: Selective ports without virtual hosts

2008-02-15 Thread Caldarale, Charles R
> From: Greg Jewell [mailto:[EMAIL PROTECTED] > Subject: Selective ports without virtual hosts > > Basically, I want to allow this: > https://host/app/a > http://host/app/b > > and disallow this: > http://host/app/a Any reason why you can't use a of CONFID

RE: Selective ports without virtual hosts

2008-02-15 Thread Greg Jewell
From: Greg Jewell [mailto:[EMAIL PROTECTED] Subject: Selective ports without virtual hosts Basically, I want to allow this: https://host/app/a http://host/app/b and disallow this: http://host/app/a Any reason why you can't use a of CONFIDENTIAL for the /a mapping? This would b

RE: Virtual Hosts and 'Hot' Redeployment

2008-07-03 Thread Caldarale, Charles R
> From: Martin Harrigan [mailto:[EMAIL PROTECTED] > Subject: Virtual Hosts and 'Hot' Redeployment > > Any ideas why a redeployed webapp might work from > http://1.2.3.4/myWebApp but not from > http://www.otherserver.com? Your configuration is invalid, so predictable op

Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread Andrew Miehs
You can only have 1 ssl certificate per IP address Andrew On 25/08/2006, at 11:09 AM, teknokrat wrote: I am trying to set up tomcat with multiple virtual hosts, each with their own SSL certificate. Is this possible? Do I add each certificate to the main keystore as per one host

Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread Andrés González
address Andrew On 25/08/2006, at 11:09 AM, teknokrat wrote: > I am trying to set up tomcat with multiple virtual hosts, each with > their own SSL certificate. Is this possible? Do I add each > certificate to the main keystore as per one host? >

Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread Jorge Lázaro Molina
/VhostTaskForce Andrew Miehs wrote: You can only have 1 ssl certificate per IP address Andrew On 25/08/2006, at 11:09 AM, teknokrat wrote: I am trying to set up tomcat with multiple virtual hosts, each with their own SSL certificate. Is this possible? Do I add each certificate to the main keystore

RE: multiple virtual hosts and ssl certificates

2006-08-25 Thread Peter Crowther
> From: Andrés González [mailto:[EMAIL PROTECTED] > I mean, what are you saying? That tomcat can only have 1 ssl > certificate per IP address, or that it is a "general" limitation of > the architecture of SSL certificates. It is a general limitation of SSL. To be strict: you can only have one c

Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread teknokrat
ficate? Doesn't this make the virtual hosts element a bit limited if only one of them can be secured? cheers - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread Andrew Miehs
Peter is correct - I was just being a bit lazy in my answer... The ssl connection is setup BEFORE any 'hostname' information is passed over the link, and therefore the server would not know 'which' virtual hostname's ssl certificate to use. Therefore - 1 certificate per IP Address/ Port co

Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread Hassan Schroeder
On 8/25/06, teknokrat <[EMAIL PROTECTED]> wrote: So lets see if i understand this correctly. I can only have multiple SSL certificates if I create different Services in server.xml pointing to different ports? No, you don't need different Services; you need a Connector and associated keystore p

Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread Paul Singleton
Hassan Schroeder wrote: On 8/25/06, teknokrat <[EMAIL PROTECTED]> wrote: So lets see if i understand this correctly. I can only have multiple SSL certificates if I create different Services in server.xml pointing to different ports? No, you don't need different Services; you need a Connec

Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread Hassan Schroeder
On 8/25/06, Paul Singleton <[EMAIL PROTECTED]> wrote: In 5.5.9 you can put all your certificates in one keystore ... I suggest you don't proliferate keystores unless you really have to... Why? It seems far more manageable to me having them separate... -- Hassan Schroeder -

Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread Andrés González
> In 5.5.9 you can put all your certificates in one > keystore ... > I suggest you don't proliferate keystores unless you > really have to... Why? It seems far more manageable to me having them separate... Mmm... i don't agree. Only a keystore, only a location for it, only one password. I like

10,000 Virtual Hosts in a Tomcat instance

2006-08-26 Thread KEGan
add these subdomain as virtual host into a Tomcat instance (this will be done using JMX when Tomcat startup). I am wondering if anyone has added 10,000 virtual hosts to Tomcat before, and whether Tomcat can handle this. Thank you in advance.

Re: Apache httpd + (internal) Tomcat + virtual hosts

2006-09-19 Thread Bruno Georges
(internal) Tomcat + virtual hosts Hello, I have a Tomcat box (running 5.0.30) for production code. There, our dev team deploys applications as they finish them, under different contexts. We want these applications to be available under an Apache httpd (2.0.55) Internet-facing server, each on a vi

Re: Apache httpd + (internal) Tomcat + virtual hosts

2006-09-19 Thread Carlos A. Carnero Delgado
Hi, Have a look at mod- rewrite We have looked into it (not in depth, granted.) But: (1) We have seen that it is capable of proxying, not just URL rewriting. If we using its proxying capabilites, do we still need mod-jk? (2) When we tried using it, some stuff worked all right, b

Re: Apache httpd + (internal) Tomcat + virtual hosts

2006-09-19 Thread Mikolaj Rydzewski
Carlos A. Carnero Delgado wrote: (1) We have seen that it is capable of proxying, not just URL rewriting. If we using its proxying capabilites, do we still need mod-jk? I'd use mod_proxy_ajp included in apache 2.2.x with AJP connector. There would no cookie problems. (2) When we tried u

Re: Apache httpd + (internal) Tomcat + virtual hosts

2006-09-19 Thread Carlos A. Carnero Delgado
I'd use mod_proxy_ajp included in apache 2.2.x with AJP connector. There would no cookie problems. We will install Apache 2.2.x if we can't find a solution within 48 hours ;) Part of the problem is that it was decided, from on-high, that the production HTTP server would be Apache 2.0.x, which do

Re: Apache httpd + (internal) Tomcat + virtual hosts

2006-09-19 Thread Mikolaj Rydzewski
Carlos A. Carnero Delgado wrote: We will install Apache 2.2.x if we can't find a solution within 48 hours ;) Part of the problem is that it was decided, from on-high, that the production HTTP server would be Apache 2.0.x, which does not have neither the built-in ajp proxy nor the cookie-handling

Re: Apache httpd + (internal) Tomcat + virtual hosts

2006-09-19 Thread ben short
Hi, I have used virtual hosts configured as below on a Apache 1.3 server to proxy to Tomcat. Maybe of interest to you. ServerName www.domain1.com ProxyPass / http://192.168.100.20:8080/app1/ ProxyPassReverse / http://192.168.100.20:8080/app1/ ProxyRequests off ErrorLog logs/domain1-error_log

Re: Subdomains/ Virtual Hosts+ Tomcat 5.5/6.0

2007-07-28 Thread Lucas Galfaso
gt; Hello, > > I am not really sure where to start. Whether it should be a dns > modification or virtual hosts in tomcat? > > I am doing a web portal that a user after registration would have its own > domain, such as: > > max.foo.com > jarek.foo.com > > at my serve

Re: Subdomains/ Virtual Hosts+ Tomcat 5.5/6.0

2007-07-29 Thread Bill Barker
"£ukasz £apiñski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I am not really sure where to start. Whether it should be a dns > modification or virtual hosts in tomcat? > > I am doing a web portal that a user after registration wo

JK Connector not distinguishing between Virtual hosts

2006-05-16 Thread Naren Koka
I am using mod_jk with Tomcat 5 and Apache 2.2. JK is directing to the default Host in Tomcat Server. It is not able to distinguish the sites. When we go to abc2.com, it shows half the content from abc1.com, which has a lot of files with the same name as abc2.com. Is this a known bug? Anybody h

Apache and Tomcat with Multiple Virtual Hosts

2006-11-28 Thread Chris Duesing
Hello, I am trying to add a second web application to my server, and in doing so I have taken the approach of using multiple virtual hosts in both Apache and Tomcat. The configuration I am using is not currently working and I was hoping someone might spot the reason. Background: Apache

Virtual Hosts: path="/" without using ROOT folder?

2008-02-26 Thread ahnf
Hi, We would like to have 2-4 virtual hosts setup on a Tomcat 5.5.x server. I want all of these applications to respond under "/" I have read all the documentation on how to setup a new "host" in server.xml with a custom appBase and then specify your "context" fil

Setting up virtual hosts behind a reverse proxy

2005-12-01 Thread Eric Jain
I have a Tomcat (5.5.12) server that is hidden behind Apache. On the Apache server, several virtual hosts are defined. ServerName .xxx.xx ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ Now I'd like to map some of these virtual hosts to vi

Re: 10,000 Virtual Hosts in a Tomcat instance

2006-08-26 Thread Edoardo Panfili
KEGan ha scritto: Hi, I am quite a Tomcat newbie. I am building an web application that host about 10,000 websites (only single static HTML for each website). Each website is reference using a subdomain i.e. "website1.mycompany.com", " website2.mycompany.com", and so on. a question: why do y

Re: 10,000 Virtual Hosts in a Tomcat instance

2006-08-26 Thread KEGan
corresponding directories based on the subdomain. I think using virtual hosts in tomcat would be a cleaner solution. The reason for using Tomcat is simply ease of use, and I can dynamically configure Tomcat using JMX (e.g. to add subdomain). Also, I have read that using Tomcat to serve static HTML isnt

Re: 10,000 Virtual Hosts in a Tomcat instance

2006-08-26 Thread Mladen Turk
KEGan wrote: Hi, I am wondering if anyone has added 10,000 virtual hosts to Tomcat before, and whether Tomcat can handle this. There are no limits except memory available to the JVM. The performance itself should depend only on the file system, and I would suggest not to put all 1 homes

  1   2   >