illogical redirect on Tomcat 4.1

2005-08-01 Thread Tom
My Tomcat 4.1.24 returns a 302 (redirect) status on all its physical files (so not JSPs or servlets), complete with a valid redirect path. Anyone seen this behaviour before? It also happens on other systems, so it is an Tomcat/application issue. But since the application has nothing to do

Re: How do I redirect all tomcat ports to use SSL?

2005-05-09 Thread Donny R Rota
To Donny R Rota/Lexington/[EMAIL PROTECTED], tomcat-user@jakarta.apache.org cc Subject Re: How do I redirect all tomcat ports to use SSL? The below security-constraint will make Tomcat require the use of SSL. To have Tomcat automaitcally redirect for SSL, you must code redirectPort=443

Re: How do I redirect all tomcat ports to use SSL?

2005-05-05 Thread Fabian Pena
Software Group 20 Maguire Road, Lexington, MA 02421-3104 Tel: 781 676 2655, Fax: 781 676 7645 [EMAIL PROTECTED] Fabian Pena [EMAIL PROTECTED] 05/04/2005 04:51 PM Please respond to Tomcat Users List To Tomcat Users List tomcat-user@jakarta.apache.org cc Subject Re: How do I redirect all tomcat

Re: How do I redirect all tomcat ports to use SSL?

2005-05-05 Thread Bob Feretich
The below security-constraint will make Tomcat require the use of SSL. To have Tomcat automaitcally redirect for SSL, you must code redirectPort=443 as part of your port=80 connector definition in the server.xml file. Regards, Bob Feretich Subject: Re: How do I redirect all tomcat ports to use SSL

How do I redirect all tomcat ports to use SSL?

2005-05-04 Thread Donny R Rota
This weeks puzzler 8^) I want all my Tomcat requests to go through SSL. I setup tomcat, and got port 80 and port 443 (SSL) working. But I cannot redirect port 80 to 443. I keep getting refused: Is there a way in Tomcat to redirect all port 80 requests to SSL(443)? I know you can do it the other

Re: How do I redirect all tomcat ports to use SSL?

2005-05-04 Thread Fabian Pena
) working. But I cannot redirect port 80 to 443. I keep getting refused: Is there a way in Tomcat to redirect all port 80 requests to SSL(443)? I know you can do it the other way around 8443 - 80. I'm just running standalone Tomcat, no Apache. advTHANKSance! ...Don

Re: How do I redirect all tomcat ports to use SSL?

2005-05-04 Thread Donny R Rota
Users List tomcat-user@jakarta.apache.org cc Subject Re: How do I redirect all tomcat ports to use SSL? In a web application, you can edit your web.xml file and add a security-constraint to redirect all application requests to SSL. I Hope this help Fabian Donny R Rota wrote: This weeks

Re: How do I redirect all tomcat ports to use SSL?

2005-05-04 Thread Hassan Schroeder
Donny R Rota wrote: Thanks, I use security-constraints now, and I've been looking for this answer for weeks. I've not found that option available. Can you send me an URL to this? In the mean time, I'm going to see if I can find that option in my other sources. Uh, your other sources would

RE: Redirect and Tomcat

2003-01-30 Thread Daniel Brown
:[EMAIL PROTECTED]] Sent: 30 January 2003 16:01 To: Tomcat Users List Subject: Re: Redirect and Tomcat Paul Yunusov wrote: Roman, The HTTP1.1 spec says the client should follow the redirect only if the method is GET or HEAD, so check that. Pardon for butting in, but does

Re: Redirect and Tomcat

2003-01-30 Thread Erik Price
Daniel Brown wrote: This was news to me too. But, from the horse's mouth: [...] So, in theory, you should generate a 303 response if the request method was POST, and the web page you're redirecting to should be retrieved with a GET. But in practice, the web browser will do just what you

Re: Redirect and Tomcat

2003-01-30 Thread Paul Yunusov
On Thursday 30 January 2003 11:34 am, Erik Price wrote: Daniel Brown wrote: This was news to me too. But, from the horse's mouth: [...] So, in theory, you should generate a 303 response if the request method was POST, and the web page you're redirecting to should be retrieved with a

Re: Redirect and Tomcat

2003-01-30 Thread Jon Eaves
Hi all, And just to follow up on that, you should always serve your login page under SSL as otherwise the bad guys can change the FORM action parameter and use it to grab your usernames and passwords. So, the initial GET to grab the login page can trigger the http-https redirect rather than

Redirect and Tomcat

2003-01-29 Thread Roman Shpak
How can I resolve problem such as redirect from one url to another help with tomcat same as option Redirect in Apache? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Redirect and Tomcat

2003-01-29 Thread Filip Hanik
not really sure what you are asking, but response.sendRedirect(...) in HttpServletResponse will do that -Original Message- From: Roman Shpak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 3:41 PM To: [EMAIL PROTECTED] Subject: Redirect and Tomcat How can I resolve

Re: Redirect and Tomcat

2003-01-29 Thread Roman Shpak
30 ñÎ×ÁÒØ 2003 01:49, Filip Hanik ÎÁÐÉÓÁÌ: not really sure what you are asking, but response.sendRedirect(...) in HttpServletResponse will do that Yes, of course, I know it. But problem is in redirect one url to another without any program code in servlet or jsp. Why? It needs for forward

Re: Redirect and Tomcat

2003-01-29 Thread Paul Yunusov
On Wednesday 29 January 2003 07:52 pm, Roman Shpak wrote: 30 ñÎ×ÁÒØ 2003 01:49, Filip Hanik ÎÁÐÉÓÁÌ: not really sure what you are asking, but response.sendRedirect(...) in HttpServletResponse will do that Yes, of course, I know it. But problem is in redirect one url to another

How to configure a URL redirect with Tomcat 4.0 standalone

2002-01-21 Thread Haller, Joe
Is there a way to configure Tomcat 4.0 in standalone mode to peform a URL redirect? E.g. www.myhost.com/FileA -- www.myhost.com/FileB. I would like to do this without deploying a servlet. Many thanks in advance. J. Haller -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional

RE: Help!! Apache won't redirect to tomcat

2001-07-31 Thread Nance, Michael
servlets -Original Message- From: Andrew Inggs [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 11:59 AM To: '[EMAIL PROTECTED]' Subject: RE: Help!! Apache won't redirect to tomcat Nance, Michael wrote: I don't have a /buy at all it is just a Virtual Name In this case

RE: Help!! Apache won't redirect to tomcat

2001-07-31 Thread Andrew Inggs
Nance, Michael wrote: Are you saying it does NOT use web.xml? Then what does it use? Correct, it does *not* use TOMCAT_HOME/conf/web.xml. But, it *does* use PATH-TO-YOUR-WEB-APP/WEB-INF/web.xml. And, it *does* use TOMCAT_HOME/conf/server.xml. You seem to be missing the whole web app setup.

RE: Help!! Apache won't redirect to tomcat

2001-07-30 Thread Nance, Michael
wrong? Your help is greatly appreciated. -Original Message- From: Andrew Inggs [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 8:27 AM To: '[EMAIL PROTECTED]' Subject: RE: Help!! Apache won't redirect to tomcat Nance, Michael wrote: There are no errors in mod_jk.log or in my

RE: Help!! Apache won't redirect to tomcat

2001-07-30 Thread Nance, Michael
One other thing I DO NOT have a /buy dir under webapps -Original Message- From: Nance, Michael [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 8:37 AM To: '[EMAIL PROTECTED]' Subject: RE: Help!! Apache won't redirect to tomcat Andrew thanks for replying... Yes the Hello World

RE: Help!! Apache won't redirect to tomcat

2001-07-30 Thread Hewko, Doug
PROTECTED]] Sent: July 30, 2001 11:44 AM To: '[EMAIL PROTECTED]' Subject: RE: Help!! Apache won't redirect to tomcat One other thing I DO NOT have a /buy dir under webapps -Original Message- From: Nance, Michael [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 8:37 AM To: '[EMAIL

RE: Help!! Apache won't redirect to tomcat

2001-07-30 Thread Andrew Inggs
Nance, Michael wrote: One other thing I DO NOT have a /buy dir under webapps See below. [...] requesting either http://localhost:8080/buy/MLBEventInfo or http://localhost/buy/MLBEventInfo gives me the same result I get a 404 /buy/MLBEventInfo not found This is from servlet.xml

RE: Help!! Apache won't redirect to tomcat

2001-07-30 Thread Nance, Michael
I don't have a /buy at all it is just a Virtual Name -Original Message- From: Hewko, Doug [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 8:49 AM To: '[EMAIL PROTECTED]' Subject: RE: Help!! Apache won't redirect to tomcat Hi! Just curious. Should the 'buy' directory be under

RE: Help!! Apache won't redirect to tomcat

2001-07-30 Thread Andrew Inggs
Nance, Michael wrote: I don't have a /buy at all it is just a Virtual Name In this case maybe it would help if you explained your directory layout. Also I think you might be looking at the web.xml in the TOMCAT_HOME/conf directory, e.g., on my machine C:\jakarta-tomcat-3.2.2\conf\web.xml but

RE: Help!! Apache won't redirect to tomcat

2001-07-27 Thread Nance, Michael
) -Original Message- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 4:44 PM To: '[EMAIL PROTECTED]' Subject: RE: Help!! Apache won't redirect to tomcat Hi again, Ok, does http://localhost:8080/buy/MLBEventInfo work? Have you added the ajp13 connector

RE: Help!! Apache won't redirect to tomcat

2001-07-26 Thread Dmitri Colebatch
are started Or is there something else I should check? Thanks for your time Mike -Original Message- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 5:03 PM To: [EMAIL PROTECTED] Subject: RE: Help!! Apache won't redirect to tomcat something

RE: Help!! Apache won't redirect to tomcat

2001-07-26 Thread Nance, Michael
won't redirect to tomcat Mike, Sorry for being forgetful... but what page are you requesting? I'm just checking that you do have a valid JkMount that will match the page requested, and that it matches something that can be requested via tomcat directly. For example. If you are trying

RE: Help!! Apache won't redirect to tomcat

2001-07-26 Thread Andrew Inggs
Nance, Michael wrote: The page I am requestiong is http://localhost/buy/MLBEventInfo I include a file tomcat-mod_jk-apache.conf by using include ... in my httpd file in there I have these mounts JkMount /buy/* ajp13 JkMount /olympics/* ajp13 JkMount /sloc2002/* ajp13 JkMount

RE: Help!! Apache won't redirect to tomcat

2001-07-26 Thread Nance, Michael
!! Apache won't redirect to tomcat Nance, Michael wrote: The page I am requestiong is http://localhost/buy/MLBEventInfo I include a file tomcat-mod_jk-apache.conf by using include ... in my httpd file in there I have these mounts JkMount /buy/* ajp13 JkMount /olympics/* ajp13

RE: Help!! Apache won't redirect to tomcat

2001-07-26 Thread Dmitri Colebatch
Hi again, Ok, does http://localhost:8080/buy/MLBEventInfo work? Have you added the ajp13 connector in server.xml? It is not there by default? Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler

Help!! Apache won't redirect to tomcat

2001-07-25 Thread Nance, Michael
Someone please Help. I have copied the auto conf genereated by tomcat and included that in my httpd.conf file with the following line Include /opt/pokemon/bin/col_bin/tomcat/tomcat35_322/conf/tomcat-mod_jk-apache.conf I added lines to tomcat-mod_jk-apache.conf to hopefully recognize my url

RE: Help!! Apache won't redirect to tomcat

2001-07-25 Thread John Bazeley
To: [EMAIL PROTECTED] Subject: Help!! Apache won't redirect to tomcat Someone please Help. I have copied the auto conf genereated by tomcat and included that in my httpd.conf file with the following line Include /opt/pokemon/bin/col_bin/tomcat/tomcat35_322/conf/tomcat-mod_jk-ap ache.conf

RE: Help!! Apache won't redirect to tomcat

2001-07-25 Thread Nance, Michael
: Wednesday, July 25, 2001 1:52 PM To: [EMAIL PROTECTED] Subject: RE: Help!! Apache won't redirect to tomcat you're on Solaris, right? 146 is 'connection refused'. Your ajp13 handler isn't running. Either: tomcat isn't started ajp13 handler is not activated in server.xml. -- John -Original

RE: Help!! Apache won't redirect to tomcat

2001-07-25 Thread John Bazeley
!! Apache won't redirect to tomcat I checked if tomcat was startred by bringing up one of the examples. It worked... Can you send me the format for the server.xml... I got the one I have out of the how to... but mine I thought were using the ajp12 -Original Message- From: John

RE: Help!! Apache won't redirect to tomcat

2001-07-25 Thread Dmitri Colebatch
, Michael [mailto:[EMAIL PROTECTED]] Sent: Thursday, 26 July 2001 09:07 To: '[EMAIL PROTECTED]' Subject: RE: Help!! Apache won't redirect to tomcat I checked if tomcat was startred by bringing up one of the examples. It worked... Can you send me the format for the server.xml... I got