Re: Redirection/URL rewriting Tomcat 8.5.14

2017-05-12 Thread Daniel Savard
Hi Chris, 2017-05-12 13:31 GMT-04:00 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Daniel, > > On 5/12/17 10:03 AM, Daniel Savard wrote: > > Hi everyone, > > > > my question is not specific to the Tomcat version specified in the > > subject line. I am trying to imp

Re: Redirection/URL rewriting Tomcat 8.5.14

2017-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 5/12/17 10:03 AM, Daniel Savard wrote: > Hi everyone, > > my question is not specific to the Tomcat version specified in the > subject line. I am trying to implement a URL rewrite or > redirection using Tomcat. What I want to do is the

RE: Redirection of mycompany.com to www.mycompany.com

2013-12-18 Thread pierre posset
Hi, I have found what was happening, it was one of my colleagues who has put a filter and didin't remember doing that. Thank you. > Date: Tue, 17 Dec 2013 00:30:04 +0400 > Subject: Re: Redirection of mycompany.com to www.mycompany.com > From: knst.koli...@gmail.c

Re: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread Konstantin Kolinko
2013/12/16 James H. H. Lampert : > On 12/16/13 9:37 AM, pierre posset wrote: My problem is that when in a browser I am writing mycompany.com I am redirected with to www.mycompany.com. > > > I could be way off-base here (it wouldn't be the first time!), but: > > It could also be that

Re: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pierre, On 12/16/13, 12:23 PM, pierre posset wrote: > I am using tomcat7 on a debian. > > My problem is that when in a browser I am writing mycompany.com I > am redirected with to www.mycompany.com. > > I am using the node host with some nodes ali

Re: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread James H. H. Lampert
On 12/16/13 9:37 AM, pierre posset wrote: My problem is that when in a browser I am writing mycompany.com I am redirected with to www.mycompany.com. I could be way off-base here (it wouldn't be the first time!), but: It could also be that your browser thinks it's smarter than you are. I've s

RE: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread pierre posset
Thank you for your answer I will try to see if it is something like that which is happening. > Date: Mon, 16 Dec 2013 12:34:19 -0500 > From: rhi...@sympatico.ca > To: users@tomcat.apache.org > Subject: Re: Redirection of mycompany.com to www.mycompany.com > > On 2013-12-1

Re: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread Reinhardt Christiansen
On 2013-12-16 12:23 PM, pierre posset wrote: Hello, I have a strange behavior and I do not know where to watch. I am using tomcat7 on a debian. My problem is that when in a browser I am writing mycompany.com I am redirected with to www.mycompany.com. I am using the node host with some nodes

RE: redirection of www.xyz.com/xyz to https://xyz.com/xyz.html is not happening in httpd.conf

2012-12-27 Thread Caldarale, Charles R
> From: Dhaval Jaiswal [mailto:dhaval.jais...@via.com] > Subject: redirection of www.xyz.com/xyz to https://xyz.com/xyz.html is not > happening in httpd.conf > i have tried through Redirect option to redirect specific page to one *.html > it is not redirecting. Still it is redirecting to old va

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-14 Thread Woonsan Ko
> >From: André Warnier >To: Tomcat Users List >Sent: Wednesday, October 12, 2011 11:52 AM >Subject: Re: redirection error due to context path after JAAS authentication >with mod_proxy > >Woonsan Ko wrote: >> Hi, >> >

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Brian Burch
On 12/10/11 17:51, Woonsan Ko wrote: One simple strong reason is that I don't want to run tomcat by root. The debian/ubuntu deb package installs tomcat6 so that it uses authbind to listen on ports < 1024, and it runs under its own non-root uid/gid. I was very impressed when I converted from t

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Pid
On 12/10/2011 17:51, Woonsan Ko wrote: > > - Original Message - >> From: André Warnier >> To: Tomcat Users List >> Cc: >> Sent: Wednesday, October 12, 2011 11:52 AM >> Subject: Re: redirection error due to context path after JAAS authentication >

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Woonsan Ko
- Original Message - > From: André Warnier > To: Tomcat Users List > Cc: > Sent: Wednesday, October 12, 2011 11:52 AM > Subject: Re: redirection error due to context path after JAAS authentication > with mod_proxy > > Woonsan Ko wrote: >> Hi,

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread André Warnier
Woonsan Ko wrote: Hi, I have a reverse proxy configuration like this: ServerName localhost ProxyPreserveHost On ProxyPass / http://localhost:8080/app1/ ProxyPassReverse / http://localhost:8080/app1/ ProxyPassReverseCookiePath /app1 / If it is really like above, then why are

Re: redirection

2009-04-01 Thread Mark Thomas
Martin Gainty wrote: > Gregor > > can you elucidate any documented security holes in Apache HTTPD? Martin - did you even bother to look? http://httpd.apache.org/security_report.html Mark - To unsubscribe, e-mail: users-unsubs

Re: redirection

2009-04-01 Thread Gregor Schneider
Martin, On Wed, Apr 1, 2009 at 6:53 PM, Martin Gainty wrote: > > Gregor > > can you elucidate any documented security holes in Apache HTTPD? > Most of them are fixed, but it proofs that there are quite some, and I bet there will be some full disclosure in future. For a start: http://www.google

RE: redirection

2009-04-01 Thread Martin Gainty
not have any legally binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided. > Date: Wed, 1 Apr 2009 17:31:34 +0200 > Subject: Re: redirection > From: rc4...@googlemail.com > To: users@tomcat.apache.or

[OT] RE: redirection

2009-04-01 Thread Peter Crowther
> From: Gregor Schneider [mailto:rc4...@googlemail.com] > See, I believe in the statement that the more components you're adding > to an environment, the more possibilities there are for a > security-hole. However, to believe is not to know... It's clear that a naïve "more components => less secur

Re: redirection

2009-04-01 Thread Gregor Schneider
Peter, On Wed, Apr 1, 2009 at 4:58 PM, Peter Crowther wrote: > And, indeed, *assuming* that Apache + mod_security + mod_jk + Tomcat has > fewer vulnerabilities than just Tomcat. > > I'd also be very interested to see the evidence (either way) on that. > See, I believe in the statement that the

Re: redirection

2009-04-01 Thread André Warnier
Melanie Pfefer wrote: Hello I have a tomcat server running on port 8080. users need to create a dns alias which is on port 80. redirection cannot be done on DNS level of course. do you have any idea how to achieve this in tomcat. For example: http://siroe redirects to http://machineX:8080 th

RE: redirection

2009-04-01 Thread Peter Crowther
> From: Gregor Schneider [mailto:rc4...@googlemail.com] > On Wed, Apr 1, 2009 at 4:22 PM, Peter Crowther > wrote: > > > > And, indeed, that Apache + mod_security + mod_jk + Tomcat > has fewer vulnerabilities than just Tomcat. > > > > Since I'm interested on hard data, too, hand over the facts, ple

Re: redirection

2009-04-01 Thread Gregor Schneider
On Wed, Apr 1, 2009 at 4:22 PM, Peter Crowther wrote: > > And, indeed, that Apache + mod_security + mod_jk + Tomcat has fewer > vulnerabilities than just Tomcat. > Since I'm interested on hard data, too, hand over the facts, please. It's just that I'm curious... Rgds Gregor -- just because y

RE: redirection

2009-04-01 Thread mateo-jl
ng 80 port for Tomcat was a security directive in some cases) > Message du 01/04/09 15:47 > De : "Caldarale, Charles R" > A : "Tomcat Users List" > Copie à : > Objet : RE: redirection > > > From: mateo-jl [mailto:mateo...@orange.fr] > > Subjec

RE: redirection

2009-04-01 Thread Peter Crowther
> From: fredk2 [mailto:fre...@gmail.com] > I would be better...The apache httpd web server is more > versatile Irrelevant to this problem. > and its vulnerabilities are better researched. References for that assertion? I'm not disagreeing, I'd just be interested in the hard data. > You can al

RE: redirection

2009-04-01 Thread Caldarale, Charles R
> From: fredk2 [mailto:fre...@gmail.com] > Subject: RE: redirection > > The apache httpd web server is more versatile Additional versatility is worthless if not needed; from a security perspective it merely provides more opportunities for abuse. > its vulnerabilities are be

RE: redirection

2009-04-01 Thread fredk2
balance when needed... also on unix if you do not use jsvc or iptable you need to run tomcat as root for port 80 which is not a good idea...etc... Rgds - Fred Caldarale, Charles R wrote: > >> From: mateo-jl [mailto:mateo...@orange.fr] >> Subject: re: redirection >> >&g

RE: redirection

2009-04-01 Thread Caldarale, Charles R
> From: mateo-jl [mailto:mateo...@orange.fr] > Subject: re: redirection > > i think, the best way is to use the mod_jk module. So, in a firewall > environment, you can have your web server (Apache) in the non-protected > area and apache will redirect all requests (http:// :8

re: redirection

2009-04-01 Thread mateo-jl
Hi, i think, the best way is to use the mod_jk module. So, in a firewall environment, you can have your web server (Apache) in the non-protected area and apache will redirect all requests (http:// :80 or nothing) at your Tomcat server (http:// :8080) within the protected one. Take a l

RE: redirection

2009-03-31 Thread Caldarale, Charles R
> From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] > Subject: redirection > > I have a tomcat server running on port 8080. Why don't you just configure Tomcat to use port 80? That can either replace the existing for 8080 or be an additional . Look in the conf/server.xml file. - Chu

RE: redirection

2009-03-31 Thread Ilya Kazakevich
You need some front-end proxy. Apache web-server could do it. Squid could (AFAIK). Nginx could do it also. -Original Message- From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] Sent: Tuesday, March 31, 2009 8:59 PM To: users@tomcat.apache.org Subject: redirection Hello I have

Re: redirection

2009-03-31 Thread Steve
Melanie Pfefer wrote: Hello I have a tomcat server running on port 8080. users need to create a dns alias which is on port 80. redirection cannot be done on DNS level of course. do you have any idea how to achieve this in tomcat. For example: http://siroe redirects to http://machineX:8080 th

Re: Redirection after Tomcat restart

2008-09-23 Thread Pavel Savara
Hi, Another possibility is to set up tomcat to serialize session to disk before restart. Tt deserializes all session at the start up so user will remain login with all session variables it in ideal case he won't notice the restart at all. Palko On Mon, 2008-09-22 at 16:21 -0400, Martin Dubuc wrot

Re: Redirection after Tomcat restart

2008-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Dubuc wrote: > The problem that I am facing is that since the application is using a > new session, there might be some session based variables that are not > initialized. If you want your application to work properly in this situation

Re: Redirection

2008-08-16 Thread Johnny Kewl
- Original Message - From: "Ravi Sharma" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, August 15, 2008 8:47 PM Subject: Redirection Hi, I have the following scenerio. I have a site which provide music online. Now for hosting the actual song i have purchased another sit

Re: Redirection

2008-08-15 Thread Hassan Schroeder
On Fri, Aug 15, 2008 at 11:47 AM, Ravi Sharma <[EMAIL PROTECTED]> wrote: > So is there any way to do this using anything in apache,tomcat to hide > domain2 from everyone., You should either move everything to the higher-bandwidth server, or have your DNS identify it as a subdomain -- 'music.domai

RE: Redirection

2008-07-23 Thread Caldarale, Charles R
> From: jeusdi [mailto:[EMAIL PROTECTED] > Subject: RE: Redirection > > Mmm, this property is usefull when I access at a concrete web > application. I have several web application, however, when I > want to access to http://www.grupmicros.com, I want that appears > the welcom

RE: Redirection

2008-07-23 Thread jeusdi
Mmm, this property is usefull when I access at a concrete web application. I have several web application, however, when I want to access to http://www.grupmicros.com, I want that appears the welcome-file of my "welcome-application". Any help will be appreciate a lot. Thanks for all. Radcliff

RE: Redirection

2008-07-22 Thread Radcliffe, William H.
Have you tried adding main_page.html to your application's web.xml file? -- Bill -Original Message- From: jeusdi [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2008 4:28 AM To: users@tomcat.apache.org Subject: Redirection Hello list. Actually, when I want

RE: Redirection

2007-07-09 Thread Propes, Barry L
Sent: Wednesday, July 04, 2007 6:47 AM To: Tomcat Users List Subject: Re: Redirection No, it's not what i wanted :) I have a servlet page with the following address http://localhost:8080/Exam/servlets/results in this servlet page, results, i have a hyperlink: *Click Here To view your Resu

RE: Redirection

2007-07-05 Thread Propes, Barry L
request.setAttribute and cast the string variables that are currently set in the servlet. then request.getAttribute in the JSP. Actually thoughyou might need to make the hyperlink a form button. -Original Message- From: Mohammed Zabin [mailto:[EMAIL PROTECTED] Sent: Wednesday, July

Re: Redirection

2007-07-04 Thread David Delbecq
Am not sure to understand what you want, but if you want to not have to put an hyperlink and have servlet directly show the content of the jsp, use getServletContext().getRequestDispatcher("path/to/your/jsp").forward(request,response); En l'instant précis du 04/07/07 13:47, Mohammed Zabin s'expr

Re: Redirection

2007-07-04 Thread Mohammed Zabin
Yes Thank you, I found it from your first response, *response.encodeURL*, Thank you Buddy, my greetings for Sarkoozi ;) On 7/4/07, Mohammed Zabin <[EMAIL PROTECTED]> wrote: No, it's not what i wanted :) I have a servlet page with the following address http://localhost:8080/Exam/servlets/resul

Re: Redirection

2007-07-04 Thread Mohammed Zabin
No, it's not what i wanted :) I have a servlet page with the following address http://localhost:8080/Exam/servlets/results in this servlet page, results, i have a hyperlink: *Click Here To view your Results* This link is designated to navigate to a jsp page with the following address: http://

Re: Redirection

2007-07-04 Thread David Delbecq
Sorry, it's not spanish but french, totally unrelated languages as for how to create an hyperlink, just open an html book and look for tag ... En l'instant précis du 04/07/07 11:58, Mohammed Zabin s'exprimait en ces termes: > Thanks, seems spanish ;), I live Spain, am learning spanish language now

Re: Redirection

2007-07-04 Thread Mohammed Zabin
Thank you again, But I want to add a hyber link, that when clicked will transfer the user to a jsp page, like this: "Click Here" for example. how could i do this?? On 7/4/07, David Delbecq <[EMAIL PROTECTED]> wrote: String url = response.encodeURL ("/path/to/jsp.jsp?paramX=someValue¶mY=someO

Re: Redirection

2007-07-04 Thread Mohammed Zabin
Thanks, seems spanish ;), I live Spain, am learning spanish language now, Gratias, EL java es Aburrido On 7/4/07, David Delbecq <[EMAIL PROTECTED]> wrote: String url = response.encodeURL ("/path/to/jsp.jsp?paramX=someValue¶mY=someOtherValue"); En l'instant précis du 04/07/07 09:20, Mohammed

Re: Redirection

2007-07-04 Thread David Delbecq
String url = response.encodeURL("/path/to/jsp.jsp?paramX=someValue¶mY=someOtherValue"); En l'instant précis du 04/07/07 09:20, Mohammed Zabin s'exprimait en ces termes: > Hi Everybody > > I have a servlet that renders some database related values, at the > botton of > the page, i want to add a hyb