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
: 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
why you don't use virtualhost over apache ?
it's easier do it with it.
Un saludo
2011/9/3 Ioannis Parapontis parapont...@gmail.com
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
On Sat, Sep 3, 2011 at 2:51 PM, Ioannis Parapontis
parapont...@gmail.com wrote:
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
Thanks for the responses. The reason i do not use apache is that the server
that runs my 3 apps works better with Tomcat. So it would be useful if some
guidelines are provided on how i should do this.
Sent from my iPhone
On 4 Σεπ 2011, at 1:01, Manuel Fernández
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
- 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
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
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/
There is no
Thank you both very much!
I did the following:
1.) Removed the context element from the server.xml
2.) added META-INF/context.xml to the web application and removed the
docBase attribute
3.) Removed the logger element
4.) moved the Web Application to a folder named ROOT, directly under the
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wesley,
On 8/24/2009 5:20 PM, Wesley Acheson wrote:
Off topic is it wrong to reply to two emails like this in one mail (for
threading purposes?)
While not wrong, it is kind of confusing. There's no particular reason
not to reply to messages
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
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
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,
-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.
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
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
-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
I'm back to work on thursday so I won't be able to try any suggested fixes
till then. I'll let you know.
Off topic is it wrong to reply to two emails like this in one mail (for
threading purposes?)
On Mon, Aug 24, 2009 at 9:10 PM, Pid p...@pidster.com wrote:
On 24/08/2009 16:09, Wesley
Ron Van den Branden wrote:
Hi all,
I'm preparing for deploying Tomcat based web applications on a dedicated
server (finally!). I have experience with Tomcat webapps on my local
Windows machine, but am making myself familiar with a real-life
situation on a Ubuntu Linux server.
From what
Hi,
Juha Laiho schreef:
No, chrooting really does limit filesystem access to directories
to within a specified directory tree. Whatever you want to access
from a chrooted process must reside within that same chroot restriction.
Ok, this confirms my supposition, thanks.
Note though, that
the webapplication web.xml can reference previously defined Resources
(UserDatabase) as here
resource-env-ref
description
Link to the UserDatabase instance from which we request lists of
defined role names. Typically, this will be connected to the global
user database
On Wed, Apr 15, 2009 at 7:44 AM, gisrob g...@vanbooth.com wrote:
Can anybody offer any guidance or advice on how I can set up some virtual
hosts for my application that has multiple skins.
I want to be able to go to http://flavour1 instead of having to type in
gisrob wrote:
Can anybody offer any guidance or advice on how I can set up some virtual
hosts for my application that has multiple skins.
I want to be able to go to http://flavour1 instead of having to type in
http://longhostname/service/program.jsp?skins=flavour1, and similar for
flavour2,
Can anybody offer any guidance or advice on how I can set up some
virtual
hosts for my application that has multiple skins.
I want to be able to go to http://flavour1 instead of having to
type in
http://longhostname/service/program.jsp?skins=flavour1, and similar
for
flavour2, flavour3,
From: David Fisher [mailto:dfis...@jmlafferty.com]
Subject: Re: Virtual Hosts
I have multiple domains hosted, and I name each as
Aliases in the Host in server.xml.
If you only have one Host element, aliases are unnecessary. You only need
Alias elements when multiple Hosts are configured
Hi Charles,
I have multiple domains hosted, and I name each as
Aliases in the Host in server.xml.
If you only have one Host element, aliases are unnecessary. You
only need Alias elements when multiple Hosts are configured and
you want Tomcat to route more than one domain to them.
Bart Ophelders wrote:
Hi,
I would like to know if it is possible to let tomcat redirect ANY url ending
with for example test.example.com to a certain webapp.
It's not clear what you mean. URLs normally *start* with a domain,
rather than end with it.
If you mean can I assign *.domain.com
at IPs specified in your
Connectors, but that does not conform to another Host/Alias definition
being delivered to the webapps of the defaultHost.
p
-Bart Ophelders
Date: Mon, 30 Mar 2009 12:36:09 +0200
Subject: Re: virtual hosts
From: elas...@users.sourceforge.net
To: users
I 'm trying to set up an OpenID provider for testing purposes.
Since we only have one machine, there are more applications running, and maybe
there could be some conflicts. I'm not sure.
-Bart
Date: Mon, 30 Mar 2009 14:07:38 +0200
Subject: Re: virtual hosts
From: elas
I don't like to put it as default, but if there is no other way..
Thanks!
-Bart
Date: Mon, 30 Mar 2009 12:39:42 +0100
From: p...@pidster.com
To: users@tomcat.apache.org
Subject: Re: virtual hosts
Bart Ophelders wrote:
Thanks for the quick response!
Isn't it possible to do
Thanks for the quick response!
Isn't it possible to do something like this:
host name=*.test.example.com appBase=webapps/
-Bart Ophelders
Date: Mon, 30 Mar 2009 12:36:09 +0200
Subject: Re: virtual hosts
From: elas...@users.sourceforge.net
To: users@tomcat.apache.org
Hi,
i hope i
...@hotmail.com wrote:
I don't like to put it as default, but if there is no other way..
Thanks!
-Bart
Date: Mon, 30 Mar 2009 12:39:42 +0100
From: p...@pidster.com
To: users@tomcat.apache.org
Subject: Re: virtual hosts
Bart Ophelders wrote:
Thanks for the quick response!
Isn't it possible
not sure.
-Bart
Date: Mon, 30 Mar 2009 14:07:38 +0200
Subject: Re: virtual hosts
From: elas...@users.sourceforge.net
To: users@tomcat.apache.org
Hi Bart,
I'm not aware of any other way to do it.
I only wanted to know whats wrong with setting that sub domain
(test.example.com
Hi,
i hope i undertstood what you mean if so, look for the loadbalancer
application shipped with tomcat which does something similar.
On Mon, Mar 30, 2009 at 12:29 PM, Bart Ophelders
bartopheld...@hotmail.com wrote:
Hi,
I would like to know if it is possible to let tomcat redirect ANY url
), but it doesn't.
Tomcat 6
Java 1.6
CentOS 5.2
Thanks,
-Bart
Date: Mon, 30 Mar 2009 12:04:56 +0100
From: p...@pidster.com
To: users@tomcat.apache.org
Subject: Re: virtual hosts
Bart Ophelders wrote:
Hi,
I would like to know if it is possible to let tomcat redirect ANY url
ending
Bart Ophelders wrote:
Sorry if I was somewhat unclear.
What I would like to accomplish is the following:
If someone types start.test.example.com it should refer to a certain page.
If someone types hello.test.example.com it should refer to the same page.
I would like the user to be able to type
Hi,
Is your dns properly configured?
And what does your environment look like?
Regards,
Serge Fonville
On Wed, Jan 28, 2009 at 1:28 PM, Josh Pollara
jpoll...@millennialmedia.comwrote:
Does Tomcat support wildcard virtual hosts?
I'm looking to do something like this:
Host
-
From: Serge Fonville [mailto:serge.fonvi...@gmail.com]
Sent: Wed 1/28/2009 4:50 AM
To: Tomcat Users List
Subject: Re: virtual hosts
Hi,
Is your dns properly configured?
And what does your environment look like?
Regards,
Serge Fonville
On Wed, Jan 28, 2009 at 1:28 PM, Josh Pollara
jpoll
Fonville [mailto:serge.fonvi...@gmail.com]
Sent: Wed 1/28/2009 4:50 AM
To: Tomcat Users List
Subject: Re: virtual hosts
Hi,
Is your dns properly configured?
And what does your environment look like?
Regards,
Serge Fonville
On Wed, Jan 28, 2009 at 1:28 PM, Josh Pollara
jpoll
Please paste your config because I just tried this and it does not work for me.
What tomcat version are you using?
-Original Message-
From: Serge Fonville [mailto:serge.fonvi...@gmail.com]
Sent: Wed 1/28/2009 5:16 AM
To: Tomcat Users List
Subject: Re: virtual hosts
I tried it at my
On Wed, Jan 28, 2009 at 2:16 PM, Serge Fonville serge.fonvi...@gmail.com
wrote:
I tried it at my dev machine and added an alias to the host section for
*.domain.tldevery attempt to access a tomcat host on a resolvable address
works.
Sorry, my bad.
I had only configured a default host.
Alternatively you may be able to create a wildcard CNAME in dns
Hope this helps.
Regards,
Serge Fonville
On Wed, Jan 28, 2009 at 2:25 PM, Serge Fonville serge.fonvi...@gmail.comwrote:
On Wed, Jan 28, 2009 at 2:16 PM, Serge Fonville serge.fonvi...@gmail.com
wrote:
I tried it at my dev
/2009 4:50 AM
To: Tomcat Users List
Subject: Re: virtual hosts
Hi,
Is your dns properly configured?
And what does your environment look like?
Regards,
Serge Fonville
On Wed, Jan 28, 2009 at 1:28 PM, Josh Pollara
jpoll...@millennialmedia.comwrote:
Does Tomcat support wildcard
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 operation is not possible. To
fix
Lessie Z. Mitch wrote:
/tomcat_home/conf/server.xml
!-- ip 123.234.345.1 --
Host
name=domain1.com
appBase=/home/web/domain1.com/webapps ~~~ no directory after
webapps
unpackWARs=true
autoDeploy=true
/Host
This now looks good. Note that *any* directory or war under
]
Sent: Tuesday, February 26, 2008 10:06 PM
To: Tomcat Users List
Subject: Re: Virtual Hosts: path=/ without using ROOT folder?
Lessie Z. Mitch wrote:
Why does my original configuration not work anymore? I will keep Mark's
recommended configuration but would like to know they why behind the
how
ahnf wrote:
My question is, is there any way other than making the application's root directory be ROOT or deployed under ROOT/ in order to get it to respond to /? I tried the path attribute but it says that it is only valid when the Context is defined in server.xml and not in
Mark Thomas wrote:
ahnf wrote:
My question is, is there any way other than making the application's
root directory be ROOT or deployed under ROOT/ in order to get it to
respond to /? I tried the path attribute but it says that it is
only valid when the Context is defined in server.xml and not
-
From: Jeff Hoffmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 26, 2008 9:16 AM
To: Tomcat Users List
Subject: Re: Virtual Hosts: path=/ without using ROOT folder?
Mark Thomas wrote:
ahnf wrote:
My question is, is there any way other than making the application's
root directory
Lessie Z. Mitch wrote:
If you are using apache, you still need to name your Virtual hosts in the
httpd.conf.
I am myself having mod_jk issues and awaiting response.
ahnf wrote:
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
Does this work for TC5.5.x??? that is for TC6
:51 AM
To: Tomcat Users List
Subject: Re: Virtual Hosts: path=/ without using ROOT folder?
ahnf wrote:
My question is, is there any way other than making the application's root
directory be ROOT or deployed under ROOT/ in order to get it to respond to
/? I tried the path attribute but it says
and destroy all copies of the
original message.
-Original Message-
From: Lessie Z. Mitch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 26, 2008 10:19 AM
To: 'Tomcat Users List'
Subject: RE: Virtual Hosts: path=/ without using ROOT folder?
Use context.xml - approach #2 and configure
Lessie Z. Mitch wrote:
Sorry.. didn't finish... (hit the damned button)
And my application context.xml files would read something like...
No - completely wrong. In short (just doing one host) you want something like:
/tomcat_home/conf/server.xml
!-- virtual host mywebapp1 --
Host
ahnf (op) and Jeff... I know this thread helped me.
Now, I go fight with the mod_jk
~LZM~
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 26, 2008 10:41 AM
To: Tomcat Users List
Subject: Re: Virtual Hosts: path=/ without using ROOT
Here is what I have setup going off the examples, but it is not
working like a I would like
a) a Host definition in my server.xml which has appBase=tomcatHome/
myAppBase
b) a WAR file named ROOT.war. Inside there is a context.xml located in
META-INF
I am not sure what to put in for
Thanks Mark, could my context.xml also just live in my WAR/META-INF
file?
So let me get this right, the location of appBase is purely for
where WARs are uploaded. Never should document roots live under it?
So if I upload a war to appBase Tomcat then unpacks it to the
context docbase?
/Host
Webapp starts fine, serves fine... rest of previous is okay - just the
server.xml section
~LZM~
-Original Message-
From: Lessie Z. Mitch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 26, 2008 1:33 PM
To: 'Tomcat Users List'
Subject: RE: Virtual Hosts: path=/ without using ROOT
-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
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.
Suppose
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 more
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-specific configuration:
Just found the answer: Hostname Aliases
http://tomcat.apache.org/tomcat-5.0-doc/config/host.html#Host%20Name%20Aliases
--- Mon Cab [EMAIL PROTECTED] wrote:
I will hosting several domains on tomcat, and have configured each
domain with it's own IP address through DNS, such that
* 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
: 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 not, post the relevant parts
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
-Original Message-
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
ben short wrote:
I have used something like the following with mod proxy.
This goes in your apache config file
VirtualHost 10.0.0.10:80
ServerName www.domainname.co.uk
ServerAlias www.domainname.com
ProxyPass / http://192.168.100.20:8080/yourwebapp/
ProxyPassReverse /
ben short wrote:
I have used something like the following with mod proxy.
This goes in your apache config file
VirtualHost 10.0.0.10:80
ServerName www.domainname.co.uk
ServerAlias www.domainname.com
ProxyPass / http://192.168.100.20:8080/yourwebapp/
ProxyPassReverse /
: 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-to-webapp apps running in Tomcat
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
there is a solution out there for this.
Anyway, thanks to everybody who helped out on this.
Josh Gormley
-Original Message-
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
-
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've
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/hostname/ with
the appropriate path= in the Context element
That's incorrect for all recent versions of Tomcat. You must
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. There's
nothing wrong
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 not, post the relevant parts of your
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 help:
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.
: 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 a virtual host
80 matches
Mail list logo