Re: Redirect appends port number?

2023-04-13 Thread Kevin Huntly
I am, and I dont think it's the filter. Beyond that, the whole thing is broken now and I don't know why, so let's just forget I said anything Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311

Re: Redirect appends port number?

2023-04-13 Thread Christopher Schultz
Kevin, On 4/12/23 19:35, Kevin Huntly wrote: I'm seeing some odd behavior - my servlet filter is redirecting with port 10943 attached to the redirect Are you the author of the filter? If so, can you post the code that is determining what URL to use for the redirect? > - that port is the por

Re: Redirect with 301 for directory requested without trailing slash

2022-02-02 Thread Mark Thomas
On 02/02/2022 15:21, Benny Kannengießer wrote: Hi, I wonder how I could achieve that Tomcat sends a 301 (permanent redirect) instead of 302 (temporary redirect) when a directory is requested without a trailing slash. Currently, when Tomcat receives a request like http:///some-directory

Re: redirect 8445 to 445

2016-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vivek, On 11/28/16 9:55 AM, Vivek Patil wrote: > Hello All, > > I have setup Tomcat8 with SSL on AWS. Suppose my url is > "https://mydomain.com:8443"; I want to do, when I hit "mydomain.com" > it should move to https without any port no. Then you

Re: redirect to website not working

2015-06-18 Thread André Warnier
Ankur Gupta wrote: Thank you for your help... xx.xxx.xx.81 server through which iam using ie is not accessed to public website.This might be the problem. I want to ask a noob question that is there any method , as 81 server is not accessed to public websites but Linux server has access , so any

Re: redirect to website not working

2015-06-18 Thread Ankur Gupta
Thank you for your help... xx.xxx.xx.81 server through which iam using ie is not accessed to public website.This might be the problem. I want to ask a noob question that is there any method , as 81 server is not accessed to public websites but Linux server has access , so any method,way so that re

Re: redirect to website not working

2015-06-18 Thread André Warnier
Hi. I will try to give you some more tips below, but really you should try and work this out by yourself. From what little information is available below, I still believe that there is no problem with your application under Tomcat, but that the problem is that *the browser* cannot access that

Re: redirect to website not working

2015-06-17 Thread Ankur Gupta
*Fiddler Error:* # Result Protocol HostURL BodyCaching Content-Type Process CommentsCustom 2 302 HTTPxx.xxx.xx.81:81/abc/abc/a.asp 191 privatetext/html iexplore:6656 3 302 HTTPxx.xxx.xx.99:8080 /examples/sm

Re: redirect to website not working

2015-06-17 Thread André Warnier
Ankur Gupta wrote: I had installed fiddler and deactivated ie stupid feature . how can I share the result of fiddler to you if the system dosent allow attachments? Well, on this list here we try to help, and we provide tips. But we do not do all the work for you, and you are expected to do som

Re: redirect to website not working

2015-06-17 Thread chris derham
> ... how can I share > the result of fiddler to you if the system dosent allow attachments? Ankur, Copy/paste the text of the raw response into an email should do it Chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apa

Re: redirect to website not working

2015-06-17 Thread Ankur Gupta
I had installed fiddler and deactivated ie stupid feature . how can I share the result of fiddler to you if the system dosent allow attachments?

Re: redirect to website not working

2015-06-17 Thread André Warnier
Ankur Gupta wrote: Log says this: xx.xxx.xx.81 - - [17/Jun/2015:12:51:47 -0400] "GET /examples/smstrial.jsp?mobileNumber=0123456789 HTTP/1.1" 302 - xx.xxx.xx.81 - - [17/Jun/2015:12:52:16 -0400] "GET /examples/smstrial.jsp?mobileNumber=0123456789 HTTP/1.1" 302 - xx.xxx.xx.81 - - [17/Jun/2015:12

Re: redirect to website not working

2015-06-17 Thread André Warnier
Hi. Ankur Gupta wrote: Log says this: xx.xxx.xx.81 - - [17/Jun/2015:12:51:47 -0400] "GET /examples/smstrial.jsp?mobileNumber=0123456789 HTTP/1.1" 302 - xx.xxx.xx.81 - - [17/Jun/2015:12:52:16 -0400] "GET /examples/smstrial.jsp?mobileNumber=0123456789 HTTP/1.1" 302 - xx.xxx.xx.81 - - [17/Jun/20

Re: redirect to website not working

2015-06-17 Thread Ankur Gupta
Log says this: xx.xxx.xx.81 - - [17/Jun/2015:12:51:47 -0400] "GET /examples/smstrial.jsp?mobileNumber=0123456789 HTTP/1.1" 302 - xx.xxx.xx.81 - - [17/Jun/2015:12:52:16 -0400] "GET /examples/smstrial.jsp?mobileNumber=0123456789 HTTP/1.1" 302 - xx.xxx.xx.81 - - [17/Jun/2015:12:53:05 -0400] "GET /e

Re: redirect to website not working

2015-06-17 Thread André Warnier
Ankur Gupta wrote: xx.xx.xx.81 has classic asp page sms.asp having code: <%@ language=vbscript%> <% mobileNumber="0123456789" Response.redirect(" http://xx.xxx.xx.99:8080/examples/smstrial.jsp?mobileNumber="&; mobileNumber) %> Linux server(xx.xxx.xx.99:8080)

Re: redirect to website not working

2015-06-17 Thread Ankur Gupta
xx.xx.xx.81 has classic asp page sms.asp having code: <%@ language=vbscript%> <% mobileNumber="0123456789" Response.redirect(" http://xx.xxx.xx.99:8080/examples/smstrial.jsp?mobileNumber="&; mobileNumber) %> Linux server(xx.xxx.xx.99:8080) with apache tomcat an

Re: redirect to website not working

2015-06-17 Thread André Warnier
Ankur Gupta wrote: Sorry if I was unable to make you understand . At my workplace we have one production server which have iis and classic asp pages are deployed. Ok, that I understand. Server-A = IIS + whatever Now as per the requirement (of which we do not have a copy, so we know nothing ab

Re: redirect to website not working

2015-06-17 Thread Ankur Gupta
Sorry if I was unable to make you understand . At my workplace we have one production server which have iis and classic asp pages are deployed. Now as per the requirement , we have to send SMS to the customers, so , a request from production server say A(having asp page) is sent to Linux server hav

Re: redirect to website not working

2015-06-17 Thread André Warnier
Ankur Gupta wrote: I have apache tomacat 7.0.61 and linux server 6.1 enterprise. There is a requirment of sending sms to the customers, but the request to send sms to the vendor is throught this sftp linux server. Now, when i redirect to the page it does not respond.But when i access the same web

Re: Redirect or Forward a URL on tomcat

2013-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 12/9/13, 4:26 PM, André Warnier wrote: > Madison Le wrote: > > On this list, please do not top-post. See : > http://tomcat.apache.org/lists.html#tomcat-users Important - #6 > >> Hello Andre', >> >> Yes, this looks strange but this webap

Re: Redirect or Forward a URL on tomcat

2013-12-09 Thread André Warnier
pages which it returns, which will probably create some additional headaches for you in terms of getting it to work correctly under the root ("/") context. You should really contact the developers of that application, for this question. Thanks -Original Message- From:

RE: Redirect or Forward a URL on tomcat

2013-12-09 Thread Madison Le
ice-sa.com] Sent: Monday, December 09, 2013 8:40 AM To: Tomcat Users List Subject: Re: Redirect or Forward a URL on tomcat Madison Le wrote: > Hello Everyone, > > I have tried to redirect or forward a URL on tomcat but I am not sure how to > do this. > > The tomcat console i

Re: Redirect or Forward a URL on tomcat

2013-12-09 Thread André Warnier
Madison Le wrote: Hello Everyone, I have tried to redirect or forward a URL on tomcat but I am not sure how to do this. The tomcat console is http://ramlink.txwes.edu:8080 or https://ramlink.txwes.edu:8443. I created a web application which has the URL is https://ramlink.txwes.edu:8443/WebAd

Re: redirect valve in tomcat

2013-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anil, On 5/20/13 10:32 AM, Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) wrote: > Hi All, > > I am adding a new service in tomcat with name "catalina_new" and > deploy an "abc" application under this. This application was in > running un

RE: redirect valve in tomcat

2013-05-20 Thread Anil Goyal -X (anigoyal - Aricent Technologies at Cisco)
From: Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) Sent: Monday, May 20, 2013 8:01 PM To: Tomcat Users List Subject: redirect valve in tomcat Hi All, I am adding a new service in tomcat with name "catalina_new" and deploy an "abc" application under this. This application was in run

Re: redirect request from 8080 to port 80

2013-05-16 Thread Ognjen Blagojevic
André, On 15.5.2013 23:56, André Warnier wrote: Anyway, to get back to the OP's original issue, and considering the documentation only, I do understand a bit of confusion as to what is really being logged in the Access Log. Yes, I see. You are right, the documentation or the behavioir of para

Re: redirect request from 8080 to port 80

2013-05-16 Thread Ognjen Blagojevic
Chris, On 15.5.2013 16:47, Christopher Schultz wrote: I see that only the URI is being send in the first-line of the request, and not the protocol-qualified URL. Ognjen asserted that most user agents send the whole URL but I have not observed this -- neither today nor in the past. I think most b

Re: redirect request from 8080 to port 80

2013-05-15 Thread Mark Thomas
On 15/05/2013 22:56, André Warnier wrote: > Mark Thomas wrote: >> On 15/05/2013 17:15, André Warnier wrote: >>> I find it less intuitive because of the Javadoc of >>> HttpServletRequest.getLocalPort : >>> getLocalPort >>> >>> int getLocalPort() >>> >>> Returns the Internet Protocol (IP) port

Re: redirect request from 8080 to port 80

2013-05-15 Thread André Warnier
Mark Thomas wrote: On 15/05/2013 17:15, André Warnier wrote: Ognjen Blagojevic wrote: André, On 15.5.2013 15:38, André Warnier wrote: As far as I understand here, we are not talking about a proxy situation, we are talking about Iptables, which does not proxy, it just modifies packets. So the

Re: redirect request from 8080 to port 80

2013-05-15 Thread Mark Thomas
On 15/05/2013 17:15, André Warnier wrote: > Ognjen Blagojevic wrote: >> André, >> >> On 15.5.2013 15:38, André Warnier wrote: >>> As far as I understand here, we are not talking about a proxy situation, >>> we are talking about Iptables, which does not proxy, it just modifies >>> packets. >>> So th

Re: redirect request from 8080 to port 80

2013-05-15 Thread André Warnier
Ognjen Blagojevic wrote: André, On 15.5.2013 15:38, André Warnier wrote: As far as I understand here, we are not talking about a proxy situation, we are talking about Iptables, which does not proxy, it just modifies packets. So the URL that Tomcat gets from the 1st request line does not contain

Re: redirect request from 8080 to port 80

2013-05-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 5/15/13 9:38 AM, André Warnier wrote: > Mark Thomas wrote: >> On 15/05/2013 14:16, André Warnier wrote: >>> Ognjen Blagojevic wrote: >> Iptables will not change the URL. Iptables merely redirects all packets received on port 808

Re: redirect request from 8080 to port 80

2013-05-15 Thread Ognjen Blagojevic
André, On 15.5.2013 15:38, André Warnier wrote: As far as I understand here, we are not talking about a proxy situation, we are talking about Iptables, which does not proxy, it just modifies packets. So the URL that Tomcat gets from the 1st request line does not contain a hostname[:port}. Acco

Re: redirect request from 8080 to port 80

2013-05-15 Thread André Warnier
Mark Thomas wrote: On 15/05/2013 14:16, André Warnier wrote: Ognjen Blagojevic wrote: Iptables will not change the URL. Iptables merely redirects all packets received on port 8080 to port 80. It will not alter the contents of the packets. Therefore, Tomcat will receive your HTTP request as it

Re: redirect request from 8080 to port 80

2013-05-15 Thread Mark Thomas
On 15/05/2013 14:16, André Warnier wrote: > Ognjen Blagojevic wrote: >> Iptables will not change the URL. Iptables merely redirects all >> packets received on port 8080 to port 80. It will not alter the >> contents of the packets. Therefore, Tomcat will receive your HTTP >> request as it is sent b

Re: redirect request from 8080 to port 80

2013-05-15 Thread André Warnier
Ognjen Blagojevic wrote: Anil, On 15.5.2013 13:42, Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) wrote: We are using tomcat version 7.0.25 and in server.xml, we have two connector port defined:80 (http)and 443(https). In /etc/sysconfig/iptables, we have redirect logic written that w

Re: redirect request from 8080 to port 80

2013-05-15 Thread Ognjen Blagojevic
Anil, On 15.5.2013 13:42, Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) wrote: We are using tomcat version 7.0.25 and in server.xml, we have two connector port defined:80 (http)and 443(https). In /etc/sysconfig/iptables, we have redirect logic written that will redirect the request

Re: redirect to another URL in tomcat

2011-07-03 Thread Nilesh Patil
Hi, please check for javascript code for the same.. previously i done it using javascript code.. you can easily find it on google. Regards, Nilesh Patil On Wed, Jun 8, 2011 at 8:53 PM, RenuKumar wrote: > Hi > > Hope someone could provide some information on how to redirect to another > URL,ca

RE: redirect to another URL in tomcat

2011-06-08 Thread Caldarale, Charles R
> From: RenuKumar [mailto:r...@dbxpert.com.my] > Subject: redirect to another URL in tomcat > Hope someone could provide some information on how to redirect to > another URL,can be configured. Try this: http://www.tuckey.org/urlrewrite/ You don't need any front end for this. - Chuck THIS

Re: redirect to another URL in tomcat

2011-06-08 Thread Francis GALIEGUE
On Wed, Jun 8, 2011 at 17:23, RenuKumar wrote: > Hi > > Hope someone could provide some information on how to redirect to another > URL,can be configured. > > for example > > > https://ipaddress/channelmgr/MaxisUssd --->  /http://ipaddress/soap/rpc > > > Is there a way in the system we could r

RE: Redirect from a domain to another (keeping the first one)

2011-04-15 Thread Caldarale, Charles R
> From: amousset [mailto:aurelien.mous...@gmail.com] > Subject: Redirect from a domain to another (keeping the first one) > So, if I access http://domain2.com/wouhoo and > http://domain1.com/blabla/domain2/wouhoo > should be the same !! > How can I do that ? Try this: http://www.tuckey.org/url

Re: redirect some requests to another tomcat.

2010-06-15 Thread Andrew Bruno
This is pretty much what I have been working on. As a few hints, you'll need Apache in front, and setup AJP on tomcat. I have set up loadbalancing, and have the two tomcats doing session sharing, and use the jvmroute to route to respected tomcat. You might need to change your server webapp "java

Re: redirect paramter in the jk_workers file

2009-09-03 Thread Tsirkin Evgeny
> > In this case , can you please tell me wheather this is sutaible and how it > works. > > -Original Message- > From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Sent: Wednesday, September 02, 2009 11:28 PM > To: Tomcat Users List > Subject: Re: redirect

Re: redirect paramter in the jk_workers file

2009-09-03 Thread Rainer Jung
[mailto:rainer.j...@kippdata.de] > Sent: Wednesday, September 02, 2009 11:28 PM > To: Tomcat Users List > Subject: Re: redirect paramter in the jk_workers file > > Your mailer uses a very unfriendly way of formatting your messages. So I > do top posting. > > Yes, as you

RE: redirect paramter in the jk_workers file

2009-09-02 Thread Dhiraj Rajput
- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, September 02, 2009 11:28 PM To: Tomcat Users List Subject: Re: redirect paramter in the jk_workers file Your mailer uses a very unfriendly way of formatting your messages. So I do top posting. Yes, as you can read on http

Re: redirect paramter in the jk_workers file

2009-09-02 Thread Rainer Jung
gt; > Phone: - USA- 1-626-698-1099 > > India Office: 91-712-2446734 ext 30 > > cell no : 91-9370315811 > > > > -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Tuesday, September 01, 2009 11:22 PM > To: T

RE: redirect paramter in the jk_workers file

2009-09-01 Thread Dhiraj Rajput
Office: 91-712-2446734 ext 30 cell no : 91-9370315811 -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, September 01, 2009 11:22 PM To: Tomcat Users List Subject: Re: redirect paramter in the jk_workers file -BEGIN PGP SIGNED

Re: redirect paramter in the jk_workers file

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dhiraj, On 8/27/2009 8:26 AM, Dhiraj Rajput wrote: > I have issue on the redirect tag in jk workers file. What is "redirect tag"? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigm

RE: redirect paramter in the jk_workers file

2009-09-01 Thread Dhiraj Rajput
Hi All, Any idia on below mail Could anyone help me on the same. Thanks and Regards, -Original Message- From: Dhiraj Rajput [mailto:draj...@premiertechnologygroup.com] Sent: Thursday, August 27, 2009 5:56 PM To: users@tomcat.apache.org Subject: redirect paramter in the jk_worker

Re: Redirect from https to http

2009-04-08 Thread Mark Thomas
as2 wrote: > lol, any easy way of doing it? e.g. by the reverse of http->https response.sendRedirect() Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apach

Re: Redirect from https to http

2009-04-08 Thread as2
lol, any easy way of doing it? e.g. by the reverse of http->https Thanks -- View this message in context: http://www.nabble.com/Redirect-from-https-to-http-tp22938216p22946827.html Sent from the Tomcat - User mailing list archive at Nabble.com. -

Re: Redirect from https to http

2009-04-07 Thread Mark Thomas
as2 wrote: > Is this possible? Yes. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Redirect request to another Tomcat server

2008-05-15 Thread Alan Chaney
Liang I don't understand what NIO has to do with it. The response.sendRedirect() is part of the servlet spec and what type connector you are using in Tomcat should have no effect on this. I'd appreciate it if someone would correct me here if I am wrong. As a matter of interest I use redirects

Re: Redirect request to another Tomcat server

2008-05-15 Thread Johnny Kewl
Liang, I think whats bothering all of us, is that sometimes the concept itself is going wrong, and that what I think the other guys are asking. As you can see, you now getting into cookie management and all that heavy stuff, and eventually maybe suicide ;) If its load sharing, maybe think abo

Re: Redirect request to another Tomcat server

2008-05-15 Thread Johnny Kewl
Hi Johnny Kewl, With response.sendRedirect(newUrl); I have to invoke this in some web applications, but I want to modified Tomcat sources for to do that, and the class Http11NioProtocol and Http11NioProcessor dont have sendRedirect() methods!!! Any idea for redirect the request from the conn

RE: Redirect request to another Tomcat server

2008-05-15 Thread Peter Crowther
> From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED] > But, what happen if I want using Session instead of Request? mean, I > want to refuse session according the number of session I have > currently!!! And them redirect the refused session to other tomcat > server You are taking an action when a

Re: Redirect request to another Tomcat server

2008-05-15 Thread Liang Xiao Zhu
ssage- From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED] Sent: 15 May 2008 17:42 To: Tomcat Users List Subject: Re: Redirect request to another Tomcat server Yes, maybe you are right that I couldn't salvage a session. So, How can manage that using as session, I mean can I redirect the Tomcat sess

RE: Redirect request to another Tomcat server

2008-05-15 Thread Peter Crowther
the valve runs. - Peter > -Original Message- > From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED] > Sent: 15 May 2008 17:42 > To: Tomcat Users List > Subject: Re: Redirect request to another Tomcat server > > Yes, maybe you are right that I couldn't salvage a sess

Re: Redirect request to another Tomcat server

2008-05-15 Thread Liang Xiao Zhu
Yes, maybe you are right that I couldn't salvage a session. So, How can manage that using as session, I mean can I redirect the Tomcat sessions? For example, I detected a session that I dont want to response, and so I want to redirect this session, How I have to do that? Thanks in advance!!!

RE: Redirect request to another Tomcat server

2008-05-15 Thread Propes, Barry L
you'd probably have to hard code an http path in there, but I don't think you could salvage a session could you? Maybe you could. -Original Message- From: ubekhet [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 6:36 PM To: users@tomcat.apache.org Subject: Redirect request to anoth

Re: Redirect request to another Tomcat server

2008-05-15 Thread Liang Xiao Zhu
Johnny Kewl escribió: --- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. -

Re: Redirect request to another Tomcat server

2008-05-14 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. --- - Origi

Re: Redirect request to another Tomcat server

2008-05-14 Thread Hassan Schroeder
On Wed, May 14, 2008 at 4:35 PM, ubekhet <[EMAIL PROTECTED]> wrote: > I am wondering, if there is some posibility to redirect the request from one > Tomcat Server to another one. is probably the easiest :-) -- Hassan Schroeder [EMAIL

RE: redirect port 80 to application server

2008-04-17 Thread Caldarale, Charles R
> From: Susan G. Conger [mailto:[EMAIL PROTECTED] > Subject: RE: redirect port 80 to application server > > I have to have the Apache HTTP in front. Don't want it there > but it is required by the customer. To what end? I've never heard of a customer saying "you

RE: redirect port 80 to application server

2008-04-17 Thread Peter Crowther
> From: Susan G. Conger [mailto:[EMAIL PROTECTED] > I have to have the Apache HTTP in front. Don't want it there > but it is required by the customer. OK. If it's *in front*, then you'll need httpd ("Apache HTTP") to proxy for you by some means. > I say just use the port > http://myserver:8080

Re: redirect port 80 to application server

2008-04-17 Thread David Smith
ache running in front. Should I use remote proxies? Thanks, Susan -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 12:26 PM To: Tomcat Users List Subject: RE: redirect port 80 to application server From: Susan G. Conger [mailto:[

RE: redirect port 80 to application server

2008-04-17 Thread Antonio Vidal Ferrer
Susan: Is the aplication server a Tomcat? If so, you can use mod_jk. If not, may be you will need to use mod_proxy. Toni. -Original Message- From: Susan G. Conger [mailto:[EMAIL PROTECTED] Sent: jueves, 17 de abril de 2008 18:34 To: 'Tomcat Users List' Subject: RE: redirect

RE: redirect port 80 to application server

2008-04-17 Thread Susan G. Conger
- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 12:26 PM To: Tomcat Users List Subject: RE: redirect port 80 to application server > From: Susan G. Conger [mailto:[EMAIL PROTECTED] > Subject: redirect port 80 to application server > > But I have

RE: redirect port 80 to application server

2008-04-17 Thread Caldarale, Charles R
> From: Susan G. Conger [mailto:[EMAIL PROTECTED] > Subject: redirect port 80 to application server > > But I have an Apache HTTP server front end and I want > to redirect port 80 so that it goes to port 8080. If by the above you mean you want to send all port 80 requests through to Tomcat on

RE: Redirect "HOST" to "HOST:PORT"

2008-01-30 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: Redirect "HOST" to "HOST:PORT" > > Thanks a lot for such a fast answer but actually I'm a newbie > and really don't know how to do what you proposed. Use the iptables utility to red

Re: Redirect "HOST" to "HOST:PORT"

2008-01-30 Thread David Delbecq
Federico. -Mensaje original- De: David Delbecq [mailto:[EMAIL PROTECTED] Enviado el: Wednesday, January 30, 2008 15:16 Para: Tomcat Users List Asunto: Re: Redirect "HOST" to "HOST:PORT" Just use the same trick you already do. This time, instead of putting your i

RE: Redirect "HOST" to "HOST:PORT"

2008-01-30 Thread falvarez
- De: David Delbecq [mailto:[EMAIL PROTECTED] Enviado el: Wednesday, January 30, 2008 15:16 Para: Tomcat Users List Asunto: Re: Redirect "HOST" to "HOST:PORT" Just use the same trick you already do. This time, instead of putting your index.html at ROOT, put it under the ro

RE: Redirect "HOST" to "HOST:PORT"

2008-01-30 Thread Caldarale, Charles R
> [EMAIL PROTECTED] a écrit : > > I'm running tomcat 5.0 in a SUSE environment. > To access the webapp the user has to enter in a web browser > "app.server:8443" and it automatically redirects to > "https://app.server:8443/myapp/servlet/login"; (this is made with an > index.htm in the ROOT context)

Re: Redirect "HOST" to "HOST:PORT"

2008-01-30 Thread David Delbecq
Just use the same trick you already do. This time, instead of putting your index.html at ROOT, put it under the root folder of an apache httpd server for that host. This assumes you run an apache httpd server on that server and it listens to port 80. [EMAIL PROTECTED] a écrit : I'm running to

Re: Redirect

2007-12-03 Thread Martin Gainty
Martin - Original Message - From: "Rainer Jung" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, December 03, 2007 6:10 AM Subject: Re: Redirect > Andrew Hole wrote: > > Hello! > > > > On an Apache server, I would like to have a

Re: Redirect

2007-12-03 Thread Rainer Jung
Andrew Hole wrote: Hello! On an Apache server, I would like to have a Redirect from a URL to other URL not on my server. The redirect is temporary, and therefore I would prefer if the original URL appeared in the visitor's browser's Address Bar, as opposed to the URL of the site to which he/she

RE: Redirect question - SOLVED

2007-03-07 Thread Jean-Sebastien Pilon
Thanks, the connector did it for me. > -Original Message- > From: Caldarale, Charles R > Sent: Tuesday, March 06, 2007 5:44 PM > To: Tomcat Users List > Subject: RE: Redirect question > > > From: Jean-Sebastien Pilon > > Subject: Redirect question > &

RE: Redirect question

2007-03-06 Thread Caldarale, Charles R
> From: Jean-Sebastien Pilon [mailto:[EMAIL PROTECTED] > Subject: Redirect question > > I wish to get rid of apache from the design, is > there any way I can set it up so it listens on > port 80 and redirects to 8080 ? Just duplicate your existing in server.xml and change to port to 80. It's

Re: Redirect in Tomcat 5.5 Not Working

2006-12-06 Thread Latesha Williams
It worked. Thanks. > > "Latesha Williams" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> We are running Tomcat 5.5.20 as a standalone web server for a >> third-party's web and servlet applications. On this server (Linux), >> Iptables is redirecting ports 80 to 8080 and 443 to 84

Re: Redirect in Tomcat 5.5 Not Working

2006-12-05 Thread Bill Barker
"Latesha Williams" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > We are running Tomcat 5.5.20 as a standalone web server for a > third-party's web and servlet applications. On this server (Linux), > Iptables is redirecting ports 80 to 8080 and 443 to 8443 (to run Tomcat as > regu

Re: redirect with tomcat

2006-03-16 Thread David Wall
s would like to use only one hostname. Thanks, Lothar -Ursprüngliche Nachricht- Von: "Tomcat Users List" Gesendet: 16.03.06 19:36:46 An: Tomcat Users List Betreff: Re: redirect with tomcat We've used UrlRewriteFilter with good success so far: http://tuckey.org/u

Re: redirect with tomcat

2006-03-16 Thread Lothar Krenzien
ly one hostname. Thanks, Lothar > -Ursprüngliche Nachricht- > Von: "Tomcat Users List" > Gesendet: 16.03.06 19:36:46 > An: Tomcat Users List > Betreff: Re: redirect with tomcat > We've used UrlRewriteFilter with good success so far: > http://tuckey.or

Re: redirect with tomcat

2006-03-16 Thread David Wall
We've used UrlRewriteFilter with good success so far: http://tuckey.org/urlrewrite/ David Lothar Krenzien wrote: Hi there, I'm using tomcat 5.5 and want to redirect some requests to another URL. For example the URL localhost:80/siteA should be forwarded to localhost:8080/siteB. Of course o

Re: Redirect username and password from http basic authentication to a serlvet as parameters

2006-02-23 Thread David Smith
In your webapp, there is no "authenticated session" -- at least from the perspective of tomcat there isn't. Since you are managing the authentication directly, all you need to do is send another unauthorized response when the username/password aren't correct: response.setStatus( HttpServletRe

Re: Redirect username and password from http basic authentication to a serlvet as parameters

2006-02-23 Thread Johan Haleby
Thanks David! I got things working now exactly the way I wanted! But I still have another question if you're up for it. Since my authentication takes place somewhere else, I would like the basic http authentication pop up window to be displayed again if the authentication fails. I.e. the servlet t

Re: Redirect username and password from http basic authentication to a serlvet as parameters

2006-02-22 Thread David Smith
You didn't actually say why this code doesn't work. Is there an error or is it you just can't get the credentials from the request in your jsp? At any rate, you have some options with storing the decoded credentials. If you are writing all the code and you don't care if getRemoteUser() ever

Re: Redirect username and password from http basic authentication to a serlvet as parameters

2006-02-22 Thread Johan Haleby
Thanks for the reply, (I'm thanking Tim as well :)). I've never worked with filters before so I don't quite get everything you're saying. Your code seem to be a good first step though. But I have a few questions: My code in the doFilter looks like this atm: HttpServletRequest httpServletR

Re: Redirect username and password from http basic authentication to a serlvet as parameters

2006-02-22 Thread David Smith
Do it in a request filter and don't implement a realm in tomcat. You're looking for something like (all in a filter): //Check for a basic auth header with actual user/pass info if ((request.getHeader("Authentication") == null) || (request.getHeader("Authentication").length <= 6)) response.setS

Re: Redirect username and password from http basic authentication to a serlvet as parameters

2006-02-22 Thread Tim Funk
In this case - I would not use a realm. I would use a few filters. 1) One that checks for the WWW-Authenticate headers to ensure you are logged in and sets request.getRemoteUser() and override request.isUserInRole() accordingly (via a HttpServletRequestWrapper). If not logged in - it will retu

Re: Redirect from CGI servlet

2005-12-20 Thread Mark Thomas
Bob Faist wrote: > Tomcat 5.5 > Windows XP > > I'm trying to retro-fit a perl CGI web app into Tomcat and the only > remaining issue is redirects. I have enabled the CGI servlet in the > conf/web.xml file. I have a CGI script which is setting the HTTP > response header to a redirect type but Tom

RE: Redirect from CGI servlet

2005-12-20 Thread Bob Faist
is only one response header status of "Moved - 302" and the redirect functions OK. Thanks for the help. Bob -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 20, 2005 4:31 PM To: Tomcat Users List Subject: Re: Redirect from CGI serv

Re: Redirect from CGI servlet

2005-12-20 Thread Martin Gainty
Good Afternoon Bob- I found an asnswer here http://archives.java.sun.com/cgi-bin/wa?A2=ind9811&L=servlet-interest&F=&S=&P=94953 to quote "When most browsers receive a reply with status 302 (Moved Temporarily), they look at the Location header, and automatically call the page specified there. Howev