Host Directive

2004-05-26 Thread Charles P. Killmer
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

RE: Host Directive

2004-05-26 Thread Mike Curwen
). -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

RE: Host Directive

2004-05-26 Thread Mike Curwen
, 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

RE: Host Directive

2004-05-26 Thread Charles P. Killmer
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

RE: Host Directive

2004-05-26 Thread Mike Curwen
: 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

RE: Host Directive

2004-05-26 Thread Charles P. Killmer
/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

RE: Host Directive

2004-05-26 Thread Mike Curwen
[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

RE: Host Directive

2004-05-26 Thread Charles P. Killmer
-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

RE: Host Directive

2004-05-26 Thread Mike Curwen
. 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

RE: Host Directive - I am half way there

2004-05-26 Thread Charles P. Killmer
-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

Need help with Virtual Host Directive

2003-12-19 Thread Wehner, Terry
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

RE: Need help with Virtual Host Directive

2003-12-19 Thread Shapira, Yoav
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

RE: Need help with Virtual Host Directive

2003-12-19 Thread Wehner, Terry
: 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

RE: Need help with Virtual Host Directive

2003-12-19 Thread Shapira, Yoav
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

RE: Need help with Virtual Host Directive

2003-12-19 Thread Wehner, Terry
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

Using the Host directive (Feature request?)

2001-04-06 Thread Jeff Kilbride
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