Re: Tomcat Virtual Host to prevent Improper-Input-Handling attack

2021-09-13 Thread Pradeep
data.com/portal/ticket/list?offset=10_header=host Currently it returns 302 basically redirecting invalid host which is not right. I found this link , solution recommended by Tomcat team "Andre". https://stackoverflow.com/questions/44054591/tomcat-virtual-host-to-prevent-improper-input

Re: Tomcat Virtual Host to prevent Improper-Input-Handling attack

2021-09-13 Thread Christopher Schultz
Pradeep, On 9/13/21 09:35, Pradeep wrote: I am using Tomcat 7.0.57, I can't change the Tomcat version now. Running my previous "forge" file (with GET http://www.microsoft.com/, the the forged Host header) against Tomcat 7.0.57: $ nc localhost 8080 < forge HTTP/1.1 200 OK Server:

Re: Tomcat Virtual Host to prevent Improper-Input-Handling attack

2021-09-13 Thread Christopher Schultz
Pradeep, On 9/13/21 09:35, Pradeep wrote: Hi Chris, I am using Tomcat 7.0.57, I can't change the Tomcat version now. I tried adding Virtual Host with RemotrHostValve to allow list of hosts but still no luck. This is because you are trying to block the client by their identity (like

Re: Tomcat Virtual Host to prevent Improper-Input-Handling attack

2021-09-13 Thread Pradeep
Hi Chris, I am using Tomcat 7.0.57, I can't change the Tomcat version now. I tried adding Virtual Host with RemotrHostValve to allow list of hosts but still no luck. Regards, Pradeep On Mon, 13 Sep 2021, 2:28 pm Christopher Schultz, < ch...@christopherschultz.net> wrote: > Pradeep,

Re: Tomcat Virtual Host to prevent Improper-Input-Handling attack

2021-09-13 Thread Christopher Schultz
Pradeep, On 9/10/21 17:38, Pradeep wrote: My application is HTTPS not HTTP and now one of the application security platforms WhitHatSec raised this vulnerability issue. I tried to reproduce your "attack" on Tomcat 8.5.59, like this: $ cat forge GET www.microsoft.com/ HTTP/1.1 Host:

Re: Tomcat Virtual Host to prevent Improper-Input-Handling attack

2021-09-10 Thread Pradeep
Hi Chris, My application is HTTPS not HTTP and now one of the application security platforms WhitHatSec raised this vulnerability issue. I tried the above configuration mentioned but no luck but this configuration advised in Apache website

Re: Tomcat Virtual Host to prevent Improper-Input-Handling attack

2021-09-10 Thread Christopher Schultz
Pradeep, On 9/10/21 06:19, Pradeep wrote: Hi Team, I need your help to fix HTTP Host header attacks. I'm currently in the process of trying to fix a site vulnerability, basically it is one type of the "Improper Input Handling" attack. Let's say my website is www.mywebsite.com and there is

Tomcat Virtual Host to prevent Improper-Input-Handling attack

2021-09-10 Thread Pradeep
Hi Team, I need your help to fix HTTP Host header attacks. I'm currently in the process of trying to fix a site vulnerability, basically it is one type of the "Improper Input Handling" attack. Let's say my website is www.mywebsite.com and there is hacker's website www.hacker.com Whenever there

Re: Tomcat 8.5.5 with Oracle Apex 8.5.5 and Oracle ORDS 3.0.5.124.10.54 - Error While Connecting to Virtual Host - Message " null’s server IP address could not be found."

2019-08-14 Thread Pierre Chiu
; http://ptktl-apex:7003/ords_NERP/f?p=4550:1:11994796538363: > > and > > http://drptl-apex:7003/ords_NERP/f?p=4550:1:11994796538363: > > > Virtual Host "apex_test" has been configured into F5 , in order to > LoadBalance the 2 servers : ptktl-apex and drptl-apex on Port

Tomcat 8.5.5 with Oracle Apex 8.5.5 and Oracle ORDS 3.0.5.124.10.54 - Error While Connecting to Virtual Host - Message " null’s server IP address could not be found."

2019-08-14 Thread הרי טייב - harry taieb
:1:11994796538363: and http://drptl-apex:7003/ords_NERP/f?p=4550:1:11994796538363: Virtual Host "apex_test" has been configured into F5 , in order to LoadBalance the 2 servers : ptktl-apex and drptl-apex on Port 7003 while connecting to the following Url : http://apex

Re: Question about Tomcat Virtual Host to prevent Improper-Input-Handling attack

2017-05-23 Thread Christopher Schultz
tory="logs" prefix="localhost_access_log." suffix=".txt" >> pattern="%h %l %u %t %r %s %b" /> >> >> >> _ ___ >> > >> > With the above configuration, this is what happens : > > 1) Any request coming in to your server, which has a Host

RE: Question about Tomcat Virtual Host to prevent Improper-Input-Handling attack

2017-05-23 Thread Cai, Charles [COMRES/RTC/RTC]
Charles Cai | T +1 440 329 4888 -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Monday, May 22, 2017 3:19 PM To: users@tomcat.apache.org Subject: Re: Question about Tomcat Virtual Host to prevent Improper-Input-Handling attack On 22.05.2017 20:35, Cai

Re: Question about Tomcat Virtual Host to prevent Improper-Input-Handling attack

2017-05-22 Thread tomcat
y website is running on Tomcat 7, I tried some solution with set up the virtual host by point the unknown host to a defaultlocalhost which supposed to do nothing. but it still send the redirect for some reason. Here attached is my serve

Question about Tomcat Virtual Host to prevent Improper-Input-Handling attack

2017-05-22 Thread Cai, Charles [COMRES/RTC/RTC]
solution with set up the virtual host by point the unknown host to a defaultlocalhost which supposed to do nothing. but it still send the redirect for some reason. Here attached is my serve

Re: HTML 508 error with container authentication and virtual host

2015-07-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 7/8/15 3:12 PM, David Hoffer wrote: Here is information on how we have Apache configured. Apache is the virtual host and it redirects to the (war) app deployed in Tomcat. Note it has the app name in the ProxyPass/ProxyPassReverse

Re: HTML 508 error with container authentication and virtual host

2015-07-09 Thread Konstantin Kolinko
2015-07-07 19:05 GMT+03:00 David Hoffer dhoff...@gmail.com: My bad. I recalled the error wrong...it's 408. HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and

Re: HTML 508 error with container authentication and virtual host

2015-07-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 7/7/15 11:14 AM, David Hoffer wrote: Here is the relevant parts of the web.xml. I didn't do the Apache configuration so I'll have to get more details there but I was told that is no different than how we configure virtual hosts for

Re: HTML 508 error with container authentication and virtual host

2015-07-08 Thread David Hoffer
Here is information on how we have Apache configured. Apache is the virtual host and it redirects to the (war) app deployed in Tomcat. Note it has the app name in the ProxyPass/ProxyPassReverse URL. Regarding your question on how we deploy the app, I use Tomcat's Manager app to upload a war

Re: HTML 508 error with container authentication and virtual host

2015-07-07 Thread David Hoffer
ma...@apache.org wrote: On 07/07/2015 15:13, David Hoffer wrote: I've added FORM container authentication with Tomcat and everything works fine as long as users use the full URL to the app (URL in Tomcat's manager app). However users want to use a different URL based on a virtual host

Re: HTML 508 error with container authentication and virtual host

2015-07-07 Thread David Hoffer
and everything works fine as long as users use the full URL to the app (URL in Tomcat's manager app). However users want to use a different URL based on a virtual host, e.g. myapp.mycompany.com. It brings the users to the app no problem but then when they try to login Tomcat reports a 508 error, how

Re: HTML 508 error with container authentication and virtual host

2015-07-07 Thread Mark Thomas
On 07/07/2015 15:13, David Hoffer wrote: I've added FORM container authentication with Tomcat and everything works fine as long as users use the full URL to the app (URL in Tomcat's manager app). However users want to use a different URL based on a virtual host, e.g. myapp.mycompany.com

HTML 508 error with container authentication and virtual host

2015-07-07 Thread David Hoffer
I've added FORM container authentication with Tomcat and everything works fine as long as users use the full URL to the app (URL in Tomcat's manager app). However users want to use a different URL based on a virtual host, e.g. myapp.mycompany.com. It brings the users to the app no problem

Re: HTML 508 error with container authentication and virtual host

2015-07-07 Thread David Hoffer
based on a virtual host, e.g. myapp.mycompany.com. It brings the users to the app no problem but then when they try to login Tomcat reports a 508 error, how do I solve this? The URL in the browser when this happens is myapp.mycompany.com/j_security_check 1) to save time to everyone

Re: HTML 508 error with container authentication and virtual host

2015-07-07 Thread André Warnier
Hi. David Hoffer wrote: I've added FORM container authentication with Tomcat and everything works fine as long as users use the full URL to the app (URL in Tomcat's manager app). However users want to use a different URL based on a virtual host, e.g. myapp.mycompany.com. It brings the users

Re: HTML 508 error with container authentication and virtual host

2015-07-07 Thread André Warnier
André Warnier wrote: Hi. David Hoffer wrote: I've added FORM container authentication with Tomcat and everything works fine as long as users use the full URL to the app (URL in Tomcat's manager app). However users want to use a different URL based on a virtual host, e.g. myapp.mycompany.com

Re: HTML 508 error with container authentication and virtual host

2015-07-07 Thread André Warnier
: I've added FORM container authentication with Tomcat and everything works fine as long as users use the full URL to the app (URL in Tomcat's manager app). However users want to use a different URL based on a virtual host, e.g. myapp.mycompany.com. It brings the users to the app no problem

Re: Session being dropped in Virtual Host in 8.0.9

2015-02-04 Thread Hassan Schroeder
Late to this party :-) On Wed, Feb 4, 2015 at 2:03 AM, Rory Kelly rory.ke...@fernsoftware.com wrote: Rack is a bundle of fun, since this application is a Jruby application, which is being converted into a Java application to run on Tomcat. That's a whole other can of worms :) I've only run

RE: Session being dropped in Virtual Host in 8.0.9

2015-02-04 Thread Rory Kelly
: Session being dropped in Virtual Host in 8.0.9 -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rory, On 2/3/15 6:04 AM, Rory Kelly wrote: Sorry for the late reply, I wound up working from home yesterday, and access to the server was less than ideal I'm just gonna dump the Headers from

RE: Session being dropped in Virtual Host in 8.0.9

2015-02-03 Thread Rory Kelly
is getting set by Rack. I've tried the same WAR on my Windows machine, and it works fine. The only difference between the two instances is the environment (Single Host Tomcat 8.0.9 on Windows from Apache's website vs. a Virtual Host Tomcat 8.0.9 on Ubuntu installed through apt-get. (CVE-2013-2067

Re: Session being dropped in Virtual Host in 8.0.9

2015-02-03 Thread Konstantin Kolinko
2015-02-03 14:04 GMT+03:00 Rory Kelly rory.ke...@fernsoftware.com: Hi Chris, Sorry for the late reply, I wound up working from home yesterday, and access to the server was less than ideal I'm just gonna dump the Headers from the login get, through to when it dumps me back out at the login.

Re: Session being dropped in Virtual Host in 8.0.9

2015-02-03 Thread Christopher Schultz
[mailto:ch...@christopherschultz.net] Sent: 30 January 2015 17:18 To: Tomcat Users List Subject: Re: Session being dropped in Virtual Host in 8.0.9 Rory, On 1/30/15 11:01 AM, Rory Kelly wrote: I apologise in advance if the formatting is absolutely terrible. Actually, it was totally readable

RE: Session being dropped in Virtual Host in 8.0.9

2015-02-03 Thread Rory Kelly
: Session being dropped in Virtual Host in 8.0.9 -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rory, On 1/30/15 11:01 AM, Rory Kelly wrote: I apologise in advance if the formatting is absolutely terrible. Actually, it was totally readable ;) Are you using cookies for session-tracking? Can

Re: Session being dropped in Virtual Host in 8.0.9

2015-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rory, On 1/30/15 11:01 AM, Rory Kelly wrote: I apologise in advance if the formatting is absolutely terrible. Actually, it was totally readable ;) Are you using cookies for session-tracking? Can you watch the HTTP conversation to see what's

RE: Session being dropped in Virtual Host in 8.0.9

2015-01-30 Thread Rory Kelly
Hi Chris, I apologise in advance if the formatting is absolutely terrible. Are you using cookies for session-tracking? Can you watch the HTTP conversation to see what's being sent back and forth during that workflow? LiveHttpHeaders is great for Firefox, and these days Chrome, Firefox, and IE

Re: Session being dropped in Virtual Host in 8.0.9

2015-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rory, On 1/30/15 6:08 AM, Rory Kelly wrote: I’m having a lot of trouble with maintaining a session in a Virtual Host environment on 8.0.9. I installed Tomcat through apt-get on an Ubuntu 14.04 server My application is a JRuby padrino bundled

Session being dropped in Virtual Host in 8.0.9

2015-01-30 Thread Rory Kelly
Hi, I’m having a lot of trouble with maintaining a session in a Virtual Host environment on 8.0.9. I installed Tomcat through apt-get on an Ubuntu 14.04 server My application is a JRuby padrino bundled with Warbler, with 2 steps for logging in, a login page and a challenge page. The session

Tomcat virtual host shows blank page

2014-07-24 Thread Arya Farzan
Hello I also asked this on Stackoverflow but no one has commented or answered. I've been trying to configure tomcat for multiple domains and everything I have tried was unsuccessful. I added this to /etc/tomcat7/server.xml Host name=www.mysite.com appBase=webapps/mysite

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Jordan Michaels
Hi Arya, Are you using a web server like Apache in front of Tomcat, or are you hitting the Tomcat port directly? This will tell us if the problem is somewhere in your connector setup or not. Any clues in your catalina.out log file? Warm Regards, Jordan Michaels On 07/24/2014 06:03 PM, Arya

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Igal Sapir
Check with view source on the blank page and see if you get anything there On Jul 24, 2014 6:16 PM, Jordan Michaels jor...@viviotech.net wrote: Hi Arya, Are you using a web server like Apache in front of Tomcat, or are you hitting the Tomcat port directly? This will tell us if the problem is

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Arya Farzan
Hi Jordan I am using Tomcat by itself. It is pretty much a default installation using apt-get on Debian. The only changes I made are: I changed the port from 8080 to port 80 And I changed AUTHBIND=no to AUTHBIND=yes On Thu, Jul 24, 2014 at 8:16 PM, Jordan Michaels jor...@viviotech.net wrote:

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Arya Farzan
I just tried this with IE and it says The webpage cannot be found in google chrome source is 100% blank On Thu, Jul 24, 2014 at 8:20 PM, Igal Sapir i...@getrailo.org wrote: Check with view source on the blank page and see if you get anything there On Jul 24, 2014 6:16 PM, Jordan Michaels

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Igal @ getRailo.org
I prefer to use Context/docBase instead of Host/appBase try this: Host name=www.mysite.com Aliasmysite.com/Alias Context path= docBase=/var/lib/tomcat7/webapps/mysite / /Host On 7/24/2014 6:28 PM, Arya Farzan wrote: I just tried this with IE and it says The webpage cannot be found

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Arya Farzan
Thank you. I changed it to your example and now it's working On Thu, Jul 24, 2014 at 8:35 PM, Igal @ getRailo.org i...@getrailo.org wrote: I prefer to use Context/docBase instead of Host/appBase try this: Host name=www.mysite.com Aliasmysite.com/Alias Context path=

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Hassan Schroeder
On Thu, Jul 24, 2014 at 6:25 PM, Arya Farzan arya6...@gmail.com wrote: I am using Tomcat by itself. It is pretty much a default installation using apt-get on Debian. Error #1 - dump that and install a real Tomcat. I changed the port from 8080 to port 80 Error #2 - don't run Tomcat as root;

Re: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-29 Thread André Warnier
Peter wrote: I am happy that you guys sent reply to me, but anyone here can create configuration file for me for example which I had mentioned in beginning of post, then I can understand better, its my weakness but true. Peter, you should decide what you want, and whether the way in which to

tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread Peter
.host.com/client1* same way if I enter *http://client2.host.com http://client2.host.com *it should forward to to *http://client2.host.com/client2 http://client2.host.com/client2* How this can be achieved *I am not interested to use virtual host in tomcat, as well as http apache* whether its possible

RE: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread Caldarale, Charles R
From: Peter [mailto:nex@gmail.com] Subject: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache if I enter *http://client1.host.com http://client1.host.com* on browser, then tomcat should forward it to webapp client1 *http://client1

Re: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread Peter
On Sat, Dec 28, 2013 at 6:48 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Peter [mailto:nex@gmail.com] Subject: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache if I enter *http://client1.host.com http://client1

Re: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread André Warnier
://client1.host.com/client1* same way if I enter *http://client2.host.com http://client2.host.com *it should forward to to *http://client2.host.com/client2 http://client2.host.com/client2* How this can be achieved *I am not interested to use virtual host in tomcat, The question here would

Re: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread André Warnier
Peter wrote: ... I am confused about installation part please help me, installation guide says its WEB-INF directory which WEB-INF ?? and I didn't find any lib directory look at the following detail, I am newbie I have lot of need of you people's help please do the needful. Maybe you could

Re: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread Peter
I am happy that you guys sent reply to me, but anyone here can create configuration file for me for example which I had mentioned in beginning of post, then I can understand better, its my weakness but true. -Peter On Sat, Dec 28, 2013 at 10:25 PM, André Warnier a...@ice-sa.com wrote: Peter

Re: tomcat - How to forward request to some webapp while using port 80 without virtual host, without apache

2013-12-28 Thread Mark Eggers
On 12/28/2013 11:00 PM, Peter wrote: I am happy that you guys sent reply to me, but anyone here can create configuration file for me for example which I had mentioned in beginning of post, then I can understand better, its my weakness but true. -Peter On Sat, Dec 28, 2013 at 10:25 PM, André

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-27 Thread Mark Eggers
On 12/26/2013 11:49 PM, Peter wrote: Guys see here is that error message , I am attaching log file also please help OS - Centos 6.5 64 bit HTTP Status 500 - Error instantiating servlet class gov.noaa.pfel.erddap.Erddap -- *type* Exception report *message* *Error

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-27 Thread Peter
On Fri, Dec 27, 2013 at 1:31 PM, Mark Eggers its_toas...@yahoo.com wrote: On 12/26/2013 11:49 PM, Peter wrote: Guys see here is that error message , I am attaching log file also please help OS - Centos 6.5 64 bit HTTP Status 500 - Error instantiating servlet class

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-27 Thread André Warnier
Peter wrote: Guys see here is that error message , I am attaching log file also please help And did you see that : java.lang.RuntimeException: Ask the ERDDAP administrator to look at the detailed error message in [bigParentDirectory]/logs/log.txt . Did you ask him ?

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-27 Thread Peter
there is no log.txt but I can attach catalina logs Please look into the attachment All my webapps are working fine with following java downloaded from Oracle website except ERDDAP *# ls *.gz -1jdk-7u45-linux-x64.tar.gzjre-7u45-linux-x64.tar.gz* *# Folders* jdk1.7.0_45 jre1.7.0_45 Please

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-27 Thread André Warnier
Peter wrote: On Fri, Dec 27, 2013 at 1:31 PM, Mark Eggers its_toas...@yahoo.com wrote: On 12/26/2013 11:49 PM, Peter wrote: Guys see here is that error message , I am attaching log file also please help OS - Centos 6.5 64 bit HTTP Status 500 - Error instantiating servlet class

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-27 Thread David kerber
On 12/27/2013 4:27 AM, Peter wrote: there is no log.txt but I can attach catalina logs Please look into the attachment Attachments don't come through on this list; copy the contents of the file into your message. All my webapps are working fine with following java downloaded from Oracle

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread Mark Thomas
On 26/12/2013 04:30, Peter wrote: Hi all, I am having strange issues with tomcat 7 as well as tomcat 8, following is details of that issue, please someone help me to configure java for each webapps You can't do that. You can only have one version of Java per OS process / Tomcat instance. If

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread André Warnier
Peter wrote: Hi all, I am having strange issues with tomcat 7 as well as tomcat 8, following is details of that issue, please someone help me to configure java for each webapps Thanks for all the detailed information. But I believe that you have things the wrong way around. It is not a

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread Peter
Thanks *Mark,* Martin Gainty, André Warnier for you time As some of you suggested I need to have different tomcat for different java version Do you mean if I have 2 webapps, which works on 2 difference java versions then, do I have to create 2 tomcat folders ? like this /tomcat7_copy1

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread David kerber
On 12/26/2013 2:17 PM, Peter wrote: Thanks *Mark,* Martin Gainty, André Warnier for you time As some of you suggested I need to have different tomcat for different java version Do you mean if I have 2 webapps, which works on 2 difference java versions then, do I have to create 2 tomcat

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread André Warnier
Peter wrote: Thanks *Mark,* Martin Gainty, André Warnier for you time As some of you suggested I need to have different tomcat for different java version The very first question which you should maybe ask yourself (or the developers of the webapps), is *why* these webapps require

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread Peter
Guys see here is that error message , I am attaching log file also please help OS - Centos 6.5 64 bit HTTP Status 500 - Error instantiating servlet class gov.noaa.pfel.erddap.Erddap -- *type* Exception report *message* *Error instantiating servlet class

Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-25 Thread Peter
!-- =Virtual Host configuration=== -- !-- Working only with Java version jre-1.7.0 on centos -- Host name=host1 appBase=webapps unpackWARs=true autoDeploy=true Valve className=org.apache.catalina.valves.AccessLogValve directory

FW: Virtual Host Alias ignored?

2012-08-30 Thread Jeff Wild
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Wednesday, August 29, 2012 4:18 PM To: Tomcat Users List Subject: Re: Virtual Host Alias ignored? 2012/8/30 Jeff Wild jw...@dlblair.com: -Original Message- From: Konstantin Kolinko

Re: Virtual Host Alias ignored?

2012-08-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, On 8/29/12 12:09 PM, Jeff Wild wrote: I have a A record for mydomain.com and a CNAME record for www.mydomain.com. When I enter domain.com in my browser, everything works fine but www.domain.com results in Server not found. Did you

Virtual Host Alias ignored?

2012-08-29 Thread Jeff Wild
Tomcat 6 (standalone), several virtual hosts I have a A record for mydomain.com and a CNAME record for www.mydomain.com. When I enter domain.com in my browser, everything works fine but www.domain.com results in Server not found. 1. Is my configuration correct when no https is required?

Re: Virtual Host Alias ignored?

2012-08-29 Thread Konstantin Kolinko
2012/8/29 Jeff Wild jw...@dlblair.com: Tomcat 6 (standalone), several virtual hosts I have a A record for mydomain.com and a CNAME record for www.mydomain.com. When I enter domain.com in my browser, everything works fine but www.domain.com results in Server not found. 1. Is my

RE: Virtual Host Alias ignored?

2012-08-29 Thread Jeff Wild
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Wednesday, August 29, 2012 11:49 AM To: Tomcat Users List Subject: Re: Virtual Host Alias ignored? 2012/8/29 Jeff Wild jw...@dlblair.com: Tomcat 6 (standalone), several virtual hosts I have a A record

Re: Virtual Host Alias ignored?

2012-08-29 Thread Konstantin Kolinko
2012/8/30 Jeff Wild jw...@dlblair.com: -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Wednesday, August 29, 2012 11:49 AM To: Tomcat Users List Subject: Re: Virtual Host Alias ignored? 2012/8/29 Jeff Wild jw...@dlblair.com: Tomcat 6 (standalone

Re: tomcat maven plugin + configuring virtual host for the embedded tomcat ?

2012-07-31 Thread Olivier Lamy
the snapshot version of tomcat maven plugin. And i am using tomcat7:run and tomcat7:run-war-only (for webapps with overlay) actively. And the time has come for me to try out virtual host .. and as i understand it, i have to configure the host, context, etc .. But i've been using the embedded

Re: tomcat maven plugin + configuring virtual host for the embedded tomcat ?

2012-07-31 Thread Albert Kam
? those goals are for dev purpose. 2012/7/27 Albert Kam moonblade.w...@gmail.com: I am currently using the snapshot version of tomcat maven plugin. And i am using tomcat7:run and tomcat7:run-war-only (for webapps with overlay) actively. And the time has come for me to try out virtual host

Re: tomcat maven plugin + configuring virtual host for the embedded tomcat ?

2012-07-31 Thread Albert Kam
moonblade.w...@gmail.com: I am currently using the snapshot version of tomcat maven plugin. And i am using tomcat7:run and tomcat7:run-war-only (for webapps with overlay) actively. And the time has come for me to try out virtual host .. and as i understand it, i have to configure the host

Re: tomcat maven plugin + configuring virtual host for the embedded tomcat ?

2012-07-31 Thread Olivier Lamy
and tomcat7:run-war-only (for webapps with overlay) actively. And the time has come for me to try out virtual host .. and as i understand it, i have to configure the host, context, etc .. But i've been using the embedded tomcat 'supplied' by the tomcat maven plugin so far, so i wonder if there's

Re: tomcat maven plugin + configuring virtual host for the embedded tomcat ?

2012-07-30 Thread Olivier Lamy
. And the time has come for me to try out virtual host .. and as i understand it, i have to configure the host, context, etc .. But i've been using the embedded tomcat 'supplied' by the tomcat maven plugin so far, so i wonder if there's a way to configure virtual host on the embedded tomcat

Re: tomcat maven plugin + configuring virtual host for the embedded tomcat ?

2012-07-30 Thread Albert Kam
the snapshot version of tomcat maven plugin. And i am using tomcat7:run and tomcat7:run-war-only (for webapps with overlay) actively. And the time has come for me to try out virtual host .. and as i understand it, i have to configure the host, context, etc .. But i've been using the embedded

tomcat maven plugin + configuring virtual host for the embedded tomcat ?

2012-07-27 Thread Albert Kam
I am currently using the snapshot version of tomcat maven plugin. And i am using tomcat7:run and tomcat7:run-war-only (for webapps with overlay) actively. And the time has come for me to try out virtual host .. and as i understand it, i have to configure the host, context, etc .. But i've been

Re: Accessing Virtual Host through load blancer

2012-05-29 Thread André Warnier
Reka Thirunavukkarasu wrote: Hi I'm configuring a load balancer in front of two tomcat instances in the same machine. I wanted to access my name based virtual host which was created across those two tomcat instances through load balancer. In this case, when i send a request like the following

Re: Accessing Virtual Host through load blancer

2012-05-29 Thread Casper Wandahl Schmidt
Den 29-05-2012 13:35, Reka Thirunavukkarasu skrev: Hi I'm configuring a load balancer in front of two tomcat instances in the same machine. I wanted to access my name based virtual host which was created across those two tomcat instances through load balancer. In this case, when i send

Re: Accessing Virtual Host through load blancer

2012-05-29 Thread Reka Thirunavukkarasu
tomcat instance though the request is to virtual host. Since we plan to use our load balancer, we plan to send additional http header with virtual host information to tomcat. In this case, how could i handle it in tomcat level? I have defined the virtual hosts in Server.xml. And i have deployed web

Re: Accessing Virtual Host through load blancer

2012-05-29 Thread Reka Thirunavukkarasu
tomcat instance though the request is to virtual host. Since we plan to use our load balancer, we plan to send additional http header with virtual host information to tomcat. In this case, how could i handle it in tomcat level? I have defined the virtual hosts in Server.xml. And i have deployed web

Re: Accessing Virtual Host through load blancer

2012-05-29 Thread André Warnier
httpd instead the load balancer that we have developed which will balance load within tomcat instances. Obviously, the issue is with our load balancer since it is rewriting the url to one of the actual running tomcat instance though the request is to virtual host. Since we plan to use our load

Re: Accessing Virtual Host through load blancer

2012-05-29 Thread Reka Thirunavukkarasu
Thanks for the insight information. Don't /plan/ to do it, /do it/.  You /must/ send a Host: header to Tomcat, to allow it to pick the correct VirtualHost.  Otherwise how would it do it ? That's the HTTP/1.1 protocol, nothing special with Tomcat. Then we will implement it. Reka.

Default App when virtual host under Tomcat 7.0.20

2011-08-30 Thread Rain Man
I'm trying to have virtual hosts in Tomcat 7.0.20 with a default app WITHOUT renaming everything ROOT AND WITHOUT using Apache http server in front Steps done so far put fake domain in windows host file 127.0.0.1 fakedomain.com Started Tomcat and logged into Host Manager. Add virtual host

RE: Default App when virtual host under Tomcat 7.0.20

2011-08-30 Thread Caldarale, Charles R
From: Rain Man [mailto:cmssea...@hotmail.com] Subject: Default App when virtual host under Tomcat 7.0.20 I'm trying to have virtual hosts in Tomcat 7.0.20 with a default app WITHOUT renaming everything ROOT Not sure why you want to do things the hard way, but so be it. You need to place

Re: virtual host for apache/tomcat server

2011-03-31 Thread James Pifer
On Thu, 2011-03-31 at 00:57 +0200, Tobias Crefeld wrote: Am Wed, 30 Mar 2011 15:09:12 -0400 schrieb James Pifer j...@obrien-pifer.com: Ok, my httpd.conf is pretty standard. It includes proxy_ajp.conf which has: LoadModule proxy_ajp_module modules/mod_proxy_ajp.so ProxyPass /tomcat/

Re: virtual host for apache/tomcat server

2011-03-31 Thread Tobias Crefeld
Am Thu, 31 Mar 2011 07:49:07 -0400 schrieb James Pifer j...@obrien-pifer.com: So I have a web server at: http://server.domain.com that has just static web pages, etc. I have a tomcat jsp that I want to respond to http://myapp.domain.com. I setup a VirtualHost similar to you example,

virtual host for apache/tomcat server

2011-03-30 Thread James Pifer
I have the following installed on CentOS 5.5 httpd-2.2.3-43.el5.centos.3 tomcat5-5.5.23 I have a small jsp app that I CAN hit through apache like: http://www.mydomain.com/tomcat/myapp.jsp So tomcat in the url above is the apache proxy address for the tomcat server. I want to setup a virtual

Re: virtual host for apache/tomcat server

2011-03-30 Thread Christopher Schultz
? mod_jk? What are your ProxyPass settings (or JkMounts)? I want to setup a virtual host in apache to automatically load this app if I type: http://myapp.mydomain.com Sounds reasonable. Obviously, you'll have to register that hostname in DNS somewhere. Once you've done that... Looking at many

Re: virtual host for apache/tomcat server

2011-03-30 Thread James Pifer
for the tomcat server. Okay. What proxy are you using mod_proxy_ajp? mod_proxy_http? mod_jk? What are your ProxyPass settings (or JkMounts)? I want to setup a virtual host in apache to automatically load this app if I type: http://myapp.mydomain.com Sounds reasonable. Obviously, you'll have

Re: virtual host for apache/tomcat server

2011-03-30 Thread Tobias Crefeld
Am Wed, 30 Mar 2011 15:09:12 -0400 schrieb James Pifer j...@obrien-pifer.com: Ok, my httpd.conf is pretty standard. It includes proxy_ajp.conf which has: LoadModule proxy_ajp_module modules/mod_proxy_ajp.so ProxyPass /tomcat/ ajp://localhost:8009/ I only have some experience with

Re: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, On 3/2/2011 4:20 PM, jo...@centrum.cz wrote: thank you for your reply. Based on your answer I tried to remove docBase attribute in ROOT.xml and it started to work ! :-) The thing why it didn't come to my mind before is the fact that I

How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread joe.k
Hi everybody, I would like to have this setup in Tomcat: 1. virtual host 2. webapp resides directly in ROOT and is autoDeployed 3. I need to pass some specific webapp parameter in Tomcat configuration (outside war) 1st I have this scenario: Host name=my.domain.com appBase=vhosts/my.domain.com

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread Martin Gainty
aucune responsabilité pour le contenu fourni. To: users@tomcat.apache.org Subject: How to setup webapp specific parameter for virtual host in Tomcat? Date: Wed, 2 Mar 2011 13:50:09 +0100 From: jo...@centrum.cz Hi everybody, I would like to have this setup in Tomcat: 1. virtual host

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: How to setup webapp specific parameter for virtual host in Tomcat? docBase The value of this field must NOT be set when the Context is configured using a META-INF/context.xml file as it will be inferred

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread Caldarale, Charles R
From: jo...@centrum.cz [mailto:jo...@centrum.cz] Subject: How to setup webapp specific parameter for virtual host in Tomcat? Host name=my.domain.com appBase=vhosts/my.domain.com unpackWARs=true autoDeploy=true Context docBase=/ reloadable=true Parameter name=serverRole value=dev

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread joe.k
: 02.03.2011 15:24 Předmět: RE: How to setup webapp specific parameter for virtual host in Tomcat? From: jo...@centrum.cz [mailto:jo...@centrum.cz] Subject: How to setup webapp specific parameter for virtual host in Tomcat? Host name=my.domain.com appBase=vhosts/my.domain.com

Re: Virtual host, alias and context parameters

2010-12-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julien, On 12/11/2010 10:50 AM, Julien Martin wrote: Thanks all for your replies and sorry for the upper case. I am already parsing the domain name in my app and I think I will stick to that. I'm a bit late to the thread, but here's a suggestion:

Virtual host, alias and context parameters

2010-12-11 Thread Julien Martin
Hello, I need to achieve the following: -Having two domain names pointing to the same tomcat application and MOST IMPORTANTLY, having for each domain name a unique context parameter (therefore different for each domain name) that I will retrieve in my app to display different information to my

  1   2   3   4   5   >