I have a few websites that I wish to run JSP pages through Tomcat. Now
there are too many host names to create the multiple Aliases required to
get this working properly. Is there a way to configure the host to
listen on a single IP address instead of the host name?
IE
site1.com - 172.1.1.2
).
-Original Message-
From: Charles P. Killmer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 9:10 AM
To: [EMAIL PROTECTED]
Subject: Host Directive
I have a few websites that I wish to run JSP pages through
Tomcat. Now there are too many host names to create the
multiple
, with a
path attribute of empty string. (the empty string makes it the default
one).
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 9:30 AM
To: 'Tomcat Users List'
Subject: RE: Host Directive
If you can configure more than one Connector, you
To: 'Tomcat Users List'
Subject: RE: Host Directive
Sorry, thought I'd clear something up.
In the Engine element, there's an attribute defaultHost. You'd then
create your one Host element with a name element that matches the
defaultHost attribute of its surrounding Engine.
Then within the Host, you'd
: Host Directive
Lets see if I got this right. This is what one of the
services looks like. Do I then create an additional service
per IP address?
Service name=siteName
Connector acceptCount=100 connectionTimeout=2
disableUploadTimeout=true port=8080
address
/Service
/Server
Thanks for your help. Its these forums that I love about open source.
Charles
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 10:32 AM
To: 'Tomcat Users List'
Subject: RE: Host Directive
that all looks good to me, but it's
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 11:59 AM
To: Tomcat Users List
Subject: RE: Host Directive
Additional Service elements, Would I then create additional
Engine elements? And if so, how do I tell the connector to
you the appropriate Engine?
IE This doesn't work
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 12:45 PM
To: 'Tomcat Users List'
Subject: RE: Host Directive
Upon further reading of the docs, it appears you do need more than one
service. From the docs:
A Service element represents
. Killmer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 12:54 PM
To: Tomcat Users List
Subject: RE: Host Directive
Now I am definitely getting files from both sites. Though
something weird is happening. I have a file in the root of
each named test.jsp. In the file
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 1:09 PM
To: 'Tomcat Users List'
Subject: RE: Host Directive
This is where you loose me. I'm really not certain how this all
interacts with jk2.
While the IP alone should be sufficient, you might
Title: Need help with Virtual Host Directive
I have several Virtual Hosts (IP addresses) running on one Unix Server serviced by Apache 2.0.48
I have defined all of them in both my apache httpd.conf file as well as Tomcats server.xml file.
This works fine.
What I am trying to do now
PROTECTED]'
Subject: Need help with Virtual Host Directive
I have several Virtual Hosts (IP addresses) running on one Unix Server serviced by
Apache 2.0.48
I have defined all of them in both my apache httpd.conf file as well as Tomcats
server.xml file.
This works fine.
What I am trying to do now
: Friday, December 19, 2003 2:38 PM
To: Tomcat Users List
Subject: RE: Need help with Virtual Host Directive
Howdy,
So you want to disallow access based on local, rather than remote (the
request's), IP address?
Remote address filtering is easy: see the Valve How-To page section
accessible.
Yoav Shapira
Terry
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 2:38 PM
To: Tomcat Users List
Subject: RE: Need help with Virtual Host Directive
Howdy,
So you want to disallow access based on local, rather than remote
Thanks,
In the interim I got it to work :-)
-Terry
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 3:04 PM
To: Tomcat Users List
Subject: RE: Need help with Virtual Host Directive
Howdy,
Your alternative suggestion sounds
Is there any plan to include pattern matching in the Host directive in the
server.xml file? Right now, in order to catch requests to mydomain.com and
www.mydomain.com, you have to use two Host directives. The problem with
this is that it loads two instances of all your servlets/jsp's. I'm using
16 matches
Mail list logo