RE: redirect output in win 2000 from comandline

2004-07-26 Thread Jérôme Duval
To redirect to a file put filename.extension System.err will still be in your prompt window though. The only way you can redirect System.err is programatically (look at the Java API in the System class (java.lang I believe...)) -Original Message- From: Alberto Marino [mailto:[EMAIL

tomcat 5 + jk2 + apache1_3_29 https redirect

2004-07-23 Thread Pande, Rishikesh
Hello, I am running apache1_3_29 with tomcat5 and mod_jk as the connector. I would like to direct the http traffic to my site to a separate place than https traffic. Thus if a user type http://www.mysite.com he goes to index.html (this can be in apache or tomcat); whereas if he typed

image redirect

2004-07-14 Thread Charles N. Harvey III
Hello. I am used to using Apache Httpd in front of Tomcat to create Redirects for images. This way, I can re-route all calls to *.jpg to my image server. But now I don't have Apache Httpd installed. Can I do the same with Tomcat? This is the setup in Httpd: VirtualHost www.mysite.com

RE: image redirect

2004-07-14 Thread Shapira, Yoav
- From: Charles N. Harvey III [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 12:40 PM To: Tomcat Users List Subject: image redirect Hello. I am used to using Apache Httpd in front of Tomcat to create Redirects for images. This way, I can re-route all calls to *.jpg to my image server

How to catch and redirect an error code 500 with Tomcat apache ?

2004-07-08 Thread Julien Oix
Hi everyone I can't manage to redirect a 500 error code page to a customized error page, even I can't see any trouble in my conf's files. # config Linux RedHat 7.1 Apache 1.3.27 (rpm) Tomcat 4.1.18 (rpm) mod_jk 1.2.2 (rpm) #apache myVH.conf ErrorDocument 500 /jsp/500.jsp #tomcat myapps/WEB-INF

How to catch and redirect an error code 500 with Tomcat apache ?

2004-07-06 Thread Julien Oix
Hi everyone I can't manage to redirect a 500 error code page to a customized error page, even I can't see any trouble in my conf's files. # config Linux RedHat 7.1 Apache 1.3.27 (rpm) Tomcat 4.1.18 (rpm) mod_jk 1.2.2 (rpm) #apache myVH.conf ErrorDocument 500 /jsp/500.jsp #tomcat myapps/WEB-INF

Re: How to catch and redirect an error code 500 with Tomcat apache ?

2004-07-06 Thread Tim Kelly
We had to put the error-page definition in this file: jakarta-tomcat-4.1.27-LE-jdk14/webapps/ROOT/WEB-INF/web.xml Restart tomcat and it should be picked up. Tim Julien Oix wrote: Hi everyone I can't manage to redirect a 500 error code page to a customized error page, even I can't see any trouble

error 403 redirect

2004-06-18 Thread zhicheng wang
hi, can any one tell me why i cannot redirect http 403 to my nown page? It works fine for code 404. but not 403 (i used valve to restrict certain ips) I am using tomcat 5.0.19 on redhat as3 error-page error-code403/error-code locationerror403.html/location /error-page thanks cheng

Re: Re: Tomcat 4.1.30 HTTP-HTTPS redirect problem (second attempt)

2004-06-06 Thread Ryan Stewart
Ah, thanks! I'll have to go with option 2 as I'm pretty well tied to Tomcat 4 and I have to develop toward IE. -Original Message- From: Bill Barker[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Sat Jun 05 21:47:40 PDT 2004 Subject: Re: Tomcat 4.1.30 HTTP-HTTPS redirect problem (second

RE: Tomcat 4.1.30 HTTP-HTTPS redirect problem (second attempt)

2004-06-05 Thread Ariel Valentin
4.1.30 HTTP-HTTPS redirect problem (second attempt) Date: Fri, 4 Jun 2004 20:24:52 -0700 (PDT) I posted a question about this about a week ago, but haven't seen any reply. I've set up Tomcat 4.1.30 for secure access via SSL. Unsecure port is 8080, secure port is 8081. I use Tomcat for J2EE

Re: Re: Tomcat 4.1.30 HTTP-HTTPS redirect problem (second attempt)

2004-06-05 Thread Ryan Stewart
No, you misunderstand. Port 8080 is the unsecure port, so trying to access it with https gives a cannot find server error. That's my problem. For some reason, the server is trying to redirect to an unsecure port using a secure protocol, which doesn't work. -Original Message- From

Re: Tomcat 4.1.30 HTTP-HTTPS redirect problem (second attempt)

2004-06-05 Thread Bill Barker
This is a pretty well known bug in MSIE. The short version is that that TC 4.1.x sends two redirects to get you to the login page, and MSIE gets confused. The options to get around this are: 1) Don't use MSIE. 2) Use the default SSL port (e.g. 443). 3) Use TC 5.0.x instead of TC 4.1.x. Ryan

Tomcat 4.1.30 HTTP-HTTPS redirect problem (second attempt)

2004-06-04 Thread Ryan Stewart
I posted a question about this about a week ago, but haven't seen any reply. I've set up Tomcat 4.1.30 for secure access via SSL. Unsecure port is 8080, secure port is 8081. I use Tomcat for J2EE application development, and the problem is related to that. Using basic authentication, things

Tomcat 4.1.30 SSL redirect half working

2004-05-30 Thread Ryan Stewart
This is my first time using a mailing list, so hopefully I'm doing this right. I assume the same basic rules as usenet--text only, no attachments, bottom post, etc? Okay, my problem: I've set up Tomcat 4.1.30 for secure access via SSL. Unsecure port is 8080, secure port is 8081. I use Tomcat

Re: How does tomcat redirect from login

2004-04-18 Thread Chong Yu Meng
Kennedy [mailto:[EMAIL PROTECTED] Sent: Saturday, April 17, 2004 2:08 PM To: 'Tomcat Users List' Subject: RE: How does tomcat redirect from login Thanks, I'm surprised there is no way to do this. Why wouldn't they just pop it in the request. Seems very easy. I wonder if I could find the source

How does tomcat redirect from login

2004-04-17 Thread Jim Kennedy
I am using form based login, which is working fine for me. I would like to display different login content (on my login form) based on the desired intent of the user. So , if the user wants to go to a certain section of my site that is secure, I would like to capture the redirect page (the url

Re: How does tomcat redirect from login

2004-04-17 Thread Tim Funk
: I am using form based login, which is working fine for me. I would like to display different login content (on my login form) based on the desired intent of the user. So , if the user wants to go to a certain section of my site that is secure, I would like to capture the redirect page (the url

RE: How does tomcat redirect from login

2004-04-17 Thread Jim Kennedy
[mailto:[EMAIL PROTECTED] Sent: Saturday, April 17, 2004 1:44 PM To: Tomcat Users List Subject: Re: How does tomcat redirect from login There is no way to do that. Your best alternative is to NOT use authentication/authorization via the spec and create some Servlet Filters to perform the appropriate

RE: How does tomcat redirect from login

2004-04-17 Thread Jim Kennedy
: How does tomcat redirect from login Thanks, I'm surprised there is no way to do this. Why wouldn't they just pop it in the request. Seems very easy. I wonder if I could find the source for j_security_check and make the appropriate changes. I don't want to reinvent J2ee security. -Original

Re: How does tomcat redirect from login

2004-04-17 Thread Tim Funk
, 2004 2:08 PM To: 'Tomcat Users List' Subject: RE: How does tomcat redirect from login Thanks, I'm surprised there is no way to do this. Why wouldn't they just pop it in the request. Seems very easy. I wonder if I could find the source for j_security_check and make the appropriate changes. I don't

Tomcat 4.1.x/isapi-redirect 1.2.5/jni

2004-04-01 Thread Ingo Rockel
Hi! Does someone have a working Configuration with Windows/IIS and where the Tomcat 4.1.x is started via jni_connect.dll? I have this config running with Tomcat 3.2.1 and got it running with jk2 and tomcat 4.1.27, but with jk2 I have strange problems concerning put requests (stream gets mixed

RE : URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-25 Thread Hertenstein Alain
Ok thanks for the info. I finally did it with a filter and it worked. Regards Alain -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Bill Barker Envoyé : jeudi, 25. mars 2004 04:29 À : [EMAIL PROTECTED] Objet : Re: URL redirect problem, even with 'RequestDispatcher

URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Hertenstein Alain
Hi all, This question has already been asked before, but the solutions found in the archives don't seem to work properly. I have a web site running on IIS and Tomcat 4.1.24 under the root context, let's say http://www.mysite.com When people access the URL, it automatically redirects to the

Re: URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Tim Funk
/ is also known as the default servlet. So your servlet will also need to server all static content too. -Tim Hertenstein Alain wrote: Hi all, This question has already been asked before, but the solutions found in the archives don't seem to work properly. I have a web site running on IIS

RE : URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Hertenstein Alain
] Envoyé : mercredi, 24. mars 2004 14:15 À : Tomcat Users List Objet : Re: URL redirect problem, even with 'RequestDispatcher' servlet ! / is also known as the default servlet. So your servlet will also need tos erver all static content too. -Tim Hertenstein Alain wrote: Hi all, This question

Re: RE : URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Tim Funk
Users List Objet : Re: URL redirect problem, even with 'RequestDispatcher' servlet ! / is also known as the default servlet. So your servlet will also need tos erver all static content too. -Tim Hertenstein Alain wrote: Hi all, This question has already been asked before, but the solutions

Re: URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Bill Barker
and so on...). -Message d'origine- De : Tim Funk [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 24. mars 2004 14:15 À : Tomcat Users List Objet : Re: URL redirect problem, even with 'RequestDispatcher' servlet ! / is also known as the default servlet. So your servlet will also need tos erver

Redirect from root context to other context

2004-03-16 Thread Luc Foisy
What is required to redirect the root context to another context, with a relative path name rather than an absolute path name? can I just response.sendRedirect(/webapps/othercontext/); Or is there additional configuration

RE: Redirect from root context to other context

2004-03-16 Thread Shapira, Yoav
Hi, What is required to redirect the root context to another context, with a relative path name rather than an absolute path name? can I just response.sendRedirect(/webapps/othercontext/); Or is there additional configuration No additional configuration, just response.sendRedirect. You don't

RE: Redirect from root context to other context

2004-03-16 Thread Luc Foisy
unavailable 1. Will the /ROOT context work right after tomcat is restarted? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 10:54 AM To: Tomcat Users List Subject: RE: Redirect from root context to other context Hi, What is required to redirect

RE: Redirect from root context to other context

2004-03-16 Thread Luc Foisy
Sent: Tuesday, March 16, 2004 11:06 AM To: Tomcat Users List Subject: RE: Redirect from root context to other context We had originally removed the /ROOT context. I put it back in place with the administrator context. It has saved to the server.xml file. When I browse to the site, it reports

RE: Redirect from root context to other context

2004-03-16 Thread rsequeira
Subject: RE: Redirect from root context to other context Please respond to Tomcat Users List

RE: redirect and request´s attributes doubts

2004-03-12 Thread Ronald Wildenberg
Hello dudes, i´m trying to set some attributes to a request in my servlet, that´s pretty easy as you know, but after i must use redirect to a JSP page and when i try to recall those attributes created before they doesn´t appear in JSP´s request object. Even thought i set a request´s

redirect and request´s attributes doubts

2004-03-11 Thread Edson Alves Pereira
Hello dudes, i´m trying to set some attributes to a request in my servlet, that´s pretty easy as you know, but after i must use redirect to a JSP page and when i try to recall those attributes created before they doesn´t appear in JSP´s request object. Even thought i set a request´s

RE: redirect and request´s attributes doubts

2004-03-11 Thread Ralph Einfeldt
A redirect creates a new request. If you want to pass informations across a redirect you can use url parameters in the redirect url. Maybe it's is an option to you to forward to the jsp, then no new request is created. -Original Message- From: Edson Alves Pereira [mailto:[EMAIL

redirect and request´s attributes doubts

2004-03-11 Thread Edson Alves Pereira
Hello dudes, i´m trying to set some attributes to a request in my servlet, that´s pretty easy as you know, but after i must use redirect to a JSP page and when i try to recall those attributes created before they doesn´t appear in JSP´s request object. Even thought i set a request´s

RE: redirect and request´s attributes doubts

2004-03-11 Thread Ralph Einfeldt
That has been answered 40 Minutes ago: A redirect creates a new request. If you want to pass informations across a redirect you can use url parameters in the redirect url. Maybe it's is an option to you to forward to the jsp, then no new request is created. -Original Message- From

redirect and request´s attributes doubts

2004-03-11 Thread Edson Alves Pereira
Hello dudes, i´m trying to set some attributes to a request in my servlet, that´s pretty easy as you know, but after i must use redirect to a JSP page and when i try to recall those attributes created before they doesn´t appear in JSP´s request object. Even thought i set a request´s

Re: Global URL Redirect Tomcat 5

2004-03-03 Thread Christopher Schultz
Nathan, I am trying to migrate to Tomcat 5 from a different app server. Is there a way to define url redirects? i.e. if a page moved off your server to a different location and you do not want to make a redirect page. You could write a servlet that's mapped to /*, and then have that servlet

Global URL Redirect Tomcat 5

2004-03-02 Thread Nathan Maves
I am trying to migrate to Tomcat 5 from a different app server. Is there a way to define url redirects? i.e. if a page moved off your server to a different location and you do not want to make a redirect page. Nathan

Re: bug in redirect to https

2004-02-27 Thread Bernhard Wraase
Antonio Fiol Bonnín wrote: Could you please post your connector config? Here it is: Connector port=80 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=443 acceptCount=100 debug=0 connectionTimeout=2

Re: bug in redirect to https

2004-02-27 Thread Bernhard Wraase
and this security constraint(redirect) without any problem. The operating system that I tested was solaris, linuy and W2000. They had no influence to the problem. It seems to be the redirect from http to https which causes the issue. -- Regards Bernhard Wraase

bug in redirect to https

2004-02-26 Thread Bernhard Wraase
and port in server.xml configure the redirect from http to https in server.xml configure the webapp start tomcat 5 start IE 5.5 or 6.0 try https://servername/sec-test/a.pdf try https://servername/sec-test/b.zip both works correctly Now the buggy behavior: add a web.xml with following part

Re: bug in redirect to https

2004-02-26 Thread Antonio Fiol Bonnín
and/or a pdf-file in it (ie. a.pdf, b.zip) configure https with certificate and port in server.xml configure the redirect from http to https in server.xml configure the webapp start tomcat 5 start IE 5.5 or 6.0 try https://servername/sec-test/a.pdf try https://servername/sec-test/b.zip both works

Re: bug in redirect to https

2004-02-26 Thread Bill Barker
: create a folder under tomcat5/webapps (ie. sec-test) put a zip-file and/or a pdf-file in it (ie. a.pdf, b.zip) configure https with certificate and port in server.xml configure the redirect from http to https in server.xml configure the webapp start tomcat 5 start IE 5.5 or 6.0 try https

Re: URL Internal Redirect works with Tomcat/Apache 1.3 but not with Apache 2.0

2004-02-19 Thread raiden
Ok, actually that second rule doesn't really work properly either (because if someone posts their contact information, that redirect doesn't allow the post to go through properly). Anyone have any ideas on how to do this the right way? Thanks! -Raiden On Wed, 18 Feb 2004 [EMAIL PROTECTED] wrote

Re: URL Internal Redirect works with Tomcat/Apache 1.3 but not with Apache 2.0

2004-02-19 Thread raiden
posts their contact information, that redirect doesn't allow the post to go through properly). Anyone have any ideas on how to do this the right way? Thanks! -Raiden On Wed, 18 Feb 2004 [EMAIL PROTECTED] wrote: Hello, I use Tomcat 4.1.27 and Apache 1.3. I want a request

URL Redirect

2004-02-18 Thread Dean Searle
Hello All, I have a simple, yet allusive question. In Apache and Tomcat you can create Virtual Hosts. Within the Virtual Hosts you can specify different parameters. In Apache httpd.conf I can have the following: VirtualHost 192.168.1.1 ServerName www.domain1.com Redirect permanent

Re: URL Redirect

2004-02-18 Thread Duane Burchell
Redirect permanent / http://www.domain2.com/domain2 /VirtualHost Is there a feature like that in Tomcat, either in the server.xml or web.xml, I'm probably guessing server.xml. In web.xml, you would add in the filter code that is present on Paul Tuckey's website (above). You may need to alter

URL Internal Redirect works with Tomcat/Apache 1.3 but not with Apache 2.0

2004-02-18 Thread raiden
] This of course forces it to do an external redirect, and requires another request from the client, and ends up rewriting the URL in the client's browser. Does anyone know how to make the first rule work as an internal server-side redirect with Apache 2.0 and Tomcat, so that the client only has to make one

Re: how to REDIRECT after HTTPS connection failure ?

2004-01-16 Thread Alain Baucant
Thanks for the answer. Bill Barker wrote: Alain Baucant [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, my goal: to use httpS with CLIENT and server authentication to connect to tomcat and be able to REDIRECT users who can't identify themselves (can't establish the https

how to REDIRECT after HTTPS connection failure ?

2004-01-13 Thread Alain Baucant
Hello, my goal: to use httpS with CLIENT and server authentication to connect to tomcat and be able to REDIRECT users who can't identify themselves (can't establish the https connection) with their certificate. If, for any reason (for example: no client certificate) the ssl connection can't

Re: how to REDIRECT after HTTPS connection failure ?

2004-01-13 Thread Bill Barker
Alain Baucant [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, my goal: to use httpS with CLIENT and server authentication to connect to tomcat and be able to REDIRECT users who can't identify themselves (can't establish the https connection) with their certificate

Xalan redirect (to file) within Tomcat

2004-01-07 Thread Chris Ward
Hi, I'm using Xalan for XSL transformations. I can get the Xalan extension redirect) to work from the command line test progs, but fails when used within servlet. The output file I'm trying to write has the full path. Any ideas? Best regards Chris

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Shapira, Yoav
, what JDK version, and what OS are you using? Yoav Shapira Millennium ChemInformatics -Original Message- From: Chris Ward [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 9:02 AM To: Tomcat Users List Subject: Xalan redirect (to file) within Tomcat Hi, I'm using Xalan for XSL

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Chris Ward
trying to write? What tomcat version, what JDK version, and what OS are you using? In the Tomcat console window I get this... jstl:; Line 24;[EMAIL PROTECTED] Column -1; javax.xml.transform.TransformerException: java.lang.ClassNotF oundException: redirect I've got xalan.jar

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Chris Ward
oundException: redirect I've got xalan.jar in my context WEB-INF/lib dir (and in the Tomcat common/endorsed dir for that matter). I've eyeballed the xalan.jar and can see Redirect.class in there. I am running Tomcat 4.1.24 and jdk1.3.0_02 and I get the same error whether using a servlet

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Shapira, Yoav
Howdy, Perhaps a case-sensitivity issue? What happens if you use Redirect instead of redirect? Yoav Shapira Millennium ChemInformatics -Original Message- From: Chris Ward [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 12:40 PM To: [EMAIL PROTECTED] Subject: RE: Xalan

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Chris Ward
Howdy, Perhaps a case-sensitivity issue? What happens if you use Redirect instead of redirect? I thought that, but the redirect is defined in the stylesheet as... extension-element-prefixes=redirect My example is in the samples directory in the standard Xalan download

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Shapira, Yoav
Howdy, I don't know Xalan well enough to answer, but it seems pretty clear tomcat is looking for a class called Redirect, while the stylesheet uses redirect. It seems like a case-sensitivity issue, but I can't help much beyond that ;) Yoav Shapira Millennium ChemInformatics -Original

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Chris Ward
Howdy, I don't know Xalan well enough to answer, but it seems pretty clear tomcat is looking for a class called Redirect, while the stylesheet uses redirect. It seems like a case-sensitivity issue, but I can't help much beyond that ;) Yoav Shapira I agree. Anyway, a few Googles

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Shapira, Yoav
Howdy, Thanks for posting your findings. Yoav Shapira Millennium ChemInformatics -Original Message- From: Chris Ward [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 2:43 PM To: Tomcat Users List Subject: RE: Xalan redirect (to file) within Tomcat Howdy, I don't know

Unexpected Redirect to https

2003-12-18 Thread Alan Halley
Hi, I'm using Tomcat 4.1.29 on XP Home. I trying to configure Form based authentication with a DataSource based Realm. I've followed the server and web.xml given in the examples supplied with Tomcat. When I try to access my protected index.jsp the request gets redirected to the https

Re: Unexpected Redirect to https

2003-12-18 Thread Adam Hardy
On 12/18/2003 12:20 PMnbsp;Alan Halley wrote: Hi, I'm using Tomcat 4.1.29 on XP Home. I trying to configure Form based authentication with a DataSource based Realm. I've followed the server and web.xml given in the examples supplied with Tomcat. When I try to access my protected index.jsp

Re: Unexpected Redirect to https

2003-12-18 Thread Alan Halley
- Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 18, 2003 3:26 PM Subject: Re: Unexpected Redirect to https Hi Thanks for responding. The security-constraints are security-constraint display-nameExample Security

Re: config 302 redirect ?

2003-11-28 Thread P . van Kemenade
is a product that ships with it's own tomcat and I wanted to keep it like that. however, if the first tomcat (A) saw the jsp files located under /usr/local/websites/mmbase, it would barf and complain. so I wanted to redirect /mmbase on A to another port, on which the second tomcat (B) runs. which

config 302 redirect ?

2003-11-27 Thread P . van Kemenade
Hi what is the correct way to redirect users to a completely different server when they try to acces some address ? I'm looking for a config option (in server.xml or web.xml) that will return a http redirect header, like apache's Redirect directive. when people ask for http://mydomain.com

Re: config 302 redirect ?

2003-11-27 Thread Tim Funk
Tomcat doesn't have an option like that. Which is why we usually recommend using apache's ModRewrite, Redirect, ... You could write a filter which does that. -Tim P.van Kemenade wrote: Hi what is the correct way to redirect users to a completely different server when they try to acces some

Re: config 302 redirect ?

2003-11-27 Thread Luke Vanderfluit
(request, response); hope this helps, kind regards, Luke On Fri, 2003-11-28 at 01:10, P.vanKemenade wrote: Hi what is the correct way to redirect users to a completely different server when they try to acces some address ? I'm looking for a config option (in server.xml or web.xml) that will return

Re: config 302 redirect ?

2003-11-27 Thread Pike
Hi Tomcat doesn't have an option like that. strange! There are a number of ways: 1. using the Refresh header, 2. using the Location header, yes. hm. my real problem is, I have two different tomcats looking at the same folders. for each tomcat, I would like folder A to redirect to tomcat

Re: config 302 redirect ?

2003-11-27 Thread Luke Vanderfluit
Hi, Sorry but I don't understand what you are trying to do, could you be more explicit, then maybe we can help :-) kind regrards, Luke my real problem is, I have two different tomcats looking at the same folders. for each tomcat, I would like folder A to redirect to tomcat

How to redirect to another servlet as POST?

2003-11-21 Thread Edson Alves Pereira
Hello folks, i´m trying to redirect my request to another servlet, but this cannot be interpreted as GET, i need POST request. How can i do that? This because there are some important values in this QUERYSTRING, and nobody can see them. Regards, Edson

RE: How to redirect to another servlet as POST?

2003-11-21 Thread Shapira, Yoav
, November 21, 2003 3:45 PM To: 'Tomcat-User List' Subject: How to redirect to another servlet as POST? Hello folks, i´m trying to redirect my request to another servlet, but this cannot be interpreted as GET, i need POST request. How can i do that? This because there are some important values

RE: Virtual Host to Redirect

2003-11-20 Thread Dennis McRitchie
A while back, someone explained that with apache 1.3 you could use the AddModule directive to specify the order of modules to be executed in the module stack. Since the stack was LIFO, you had to do an AddModule of the jk2 module first, and the redirect module second. Then the redirect module

Virtual Host to Redirect

2003-11-18 Thread Boemio, Neil \(GEI, FGI\)
I have a sever with 2 IPs. One of the IPs (say 1.2.3.4) is going to be used as a redirector to point all our domains to one main domain. Example: Typing in another.name.com will send the browser to my.main.com another.name.com/somepage.jsp will send the browser to my.main.com

RE: Virtual Host to Redirect

2003-11-18 Thread George Sexton
-Original Message- From: Boemio, Neil (GEI, FGI) [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 6:26 PM To: Tomcat Users List Subject: Virtual Host to Redirect I have a sever with 2 IPs. One of the IPs (say 1.2.3.4) is going to be used as a redirector to point all our domains

RE: Virtual Host to Redirect

2003-11-18 Thread Boemio, Neil \(GEI, FGI\)
I need for the url address in the client's browser to change to our main domain. A redirect (ReWrite) is needed to do this. The Apache ReWrite for JSP pages is not happening because of the connector sending *.jsp to Tomcat. -Original Message- From: George Sexton [mailto:[EMAIL

redirect from one servlet to one jsp page

2003-11-17 Thread Dionisio Ruiz de Zarate
In one servlet ihave this: public HttpSession userSession; if(!userSession.getAttribute(loginStatus).equals(OK)){ //redirection } my problem is howcan i redirect from one servlet to one jsp page if the loginStatus attribute isnot equals to OK. from one jsp page to other jsp page i make

RE: redirect from one servlet to one jsp page

2003-11-17 Thread Schalk
immediately so that I can correct and delete the original email. Thank you. :: -Original Message- :: From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED] :: Sent: Monday, November 17, 2003 11:39 AM :: To: [EMAIL PROTECTED] :: Subject: redirect from one servlet to one jsp page

Re: redirect from one servlet to one jsp page

2003-11-17 Thread Eric C
: res.sendRedirect(url) hope this helps, ERic - Original Message - From: Schalk [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, November 17, 2003 9:55 AM Subject: RE: redirect from one servlet to one jsp page You can use the same method, just ensure that you

Problems with tomcat server hostname mapping and ant tasks...server redirect problems

2003-11-14 Thread Mike Klein
As my tomcat is behind a firewall and not publicly visible (I use Apache connector) I had selected localhost as the engine name and host name. All of my tomcat functionality is working: manager, admin, jsps under docroot, axis, struts, blah blah. My tomcat version is 4.1.27, and it is using an

Re: How to redirect http request to a secure SSL site?

2003-11-13 Thread Adam Hardy
On 11/12/2003 08:37 PM Raghava Rao wrote: Hi, I have jakarta-4.1.24 installed. I have enabled both HTTP, running on port 80 and HTTPS, running on 443 on my tomcat server. So, my HTTP site can be reached at http://localhost/index.jsp and my secure site can be reached at https://localhost/index.jsp

TC 4.1.27 Bug? Redirect / - /index.jsp with jsessionid

2003-11-13 Thread John Sidney-Woollett
= response.encodeRedirectURL(/folder1/); response.sendRedirect(page); OR jsp page provides a link to /folder1/ by rewriting the URL a href=c:url value='/folder1/'Folder 1/a When tomcat receives the request for /folder1/, it *appears* to redirect to /folder1/index.jsp, but DOES NOT rewrite the URL. When

Re: TC 4.1.27 Bug? Redirect / - /index.jsp with jsessionid

2003-11-13 Thread Tim Funk
/ by rewriting the URL a href=c:url value='/folder1/'Folder 1/a When tomcat receives the request for /folder1/, it *appears* to redirect to /folder1/index.jsp, but DOES NOT rewrite the URL. When you end up in the /folder1/index.jsp page, the original session is lost. I know that a work-around

How to redirect http request to a secure SSL site?

2003-11-12 Thread Raghava Rao
Hi, I have jakarta-4.1.24 installed. I have enabled both HTTP, running on port 80 and HTTPS, running on 443 on my tomcat server. So, my HTTP site can be reached at http://localhost/index.jsp and my secure site can be reached at https://localhost/index.jsp I need help in: 1. When a user browses

redirect?

2003-10-23 Thread Dean, Michael D.
I have Apache 2.0.47, Tomcat 5.0 and mod_jk2/2.0.2 running http://127.0.0.1:8009/jsp-examples/ http://127.0.0.1:8009/servlets-examples/ So how/what do I modify such that: http://127.0.0.1/jsp-examples/ http://127.0.0.1/servlet-examples return the same pages when the port number isn't

RE: redirect?

2003-10-23 Thread Lee, Paul NYC
2:46 PM To: '[EMAIL PROTECTED]' Subject: redirect? I have Apache 2.0.47, Tomcat 5.0 and mod_jk2/2.0.2 running http://127.0.0.1:8009/jsp-examples/ http://127.0.0.1:8009/servlets-examples/ So how/what do I modify such that: http://127.0.0.1/jsp-examples/ http://127.0.0.1/servlet-examples

Re: redirect?

2003-10-23 Thread Filip Hanik
did you set ServerName in httpd.conf? I've had this problem before. and I think mod_jk should read your ServerName from apache Filip - Original Message - From: Dean, Michael D. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 23, 2003 11:46 AM Subject: redirect? I have

RE: redirect?

2003-10-23 Thread Asif Chowdhary
: Dean, Michael D. [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 2:46 PM To: '[EMAIL PROTECTED]' Subject: redirect? I have Apache 2.0.47, Tomcat 5.0 and mod_jk2/2.0.2 running http://127.0.0.1:8009/jsp-examples/ http://127.0.0.1:8009/servlets-examples/ So how/what do I modify

RE: redirect?

2003-10-23 Thread Lee, Paul NYC
I'm sorry. I didn't see that you also had apache running. Please disregard my previous response. -Original Message- From: Dean, Michael D. [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 2:46 PM To: '[EMAIL PROTECTED]' Subject: redirect? I have Apache 2.0.47, Tomcat 5.0

Re: redirect?

2003-10-23 Thread Filip Hanik
well. this is kind of a hack isn't it? - Original Message - From: Lee, Paul NYC [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, October 23, 2003 11:50 AM Subject: RE: redirect? That's just the port number specified in server.xml. Just change it from 8009

Re: redirect port 8080 to 443

2003-10-14 Thread Twan Munster
Subject: RE: redirect port 8080 to 443 Can't think why this is still a problem ( it definitely works for me ) , other than a simple one of URL patterns. Does the URI /secure match the pattern /secure/*, is there a default document there which would cause a redirect that is affecting this. What

Re: redirect port 8080 to 443

2003-10-13 Thread Twan Munster
thnx for comment, but it didn't work I still can connect to http://localhost/secure/ Twan - Original Message - From: Bill Barker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, October 11, 2003 6:38 AM Subject: Re: redirect port 8080 to 443 It's in the FAQ: http

Re: redirect port 8080 to 443

2003-10-13 Thread Twan Munster
thnx for comment, but it didn't work I still can connect to http://localhost:8080/secure/ Twan - Original Message - From: Steph Richardson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, October 12, 2003 5:17 PM Subject: RE: redirect port 8080 to 443 You can

RE: redirect port 8080 to 443

2003-10-13 Thread Steph Richardson
Can't think why this is still a problem ( it definitely works for me ) , other than a simple one of URL patterns. Does the URI /secure match the pattern /secure/*, is there a default document there which would cause a redirect that is affecting this. What happens when you try going to http

RE: redirect port 8080 to 443

2003-10-12 Thread Steph Richardson
to https on the http port. e.g. : https://myserver.com:8080/secure.index.jsp Steph -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Saturday, October 11, 2003 12:39 AM To: [EMAIL PROTECTED] Subject: Re: redirect port 8080 to 443 It's in the FAQ: http

Re: redirect port 8080 to 443

2003-10-11 Thread Peter Harrison
in cocoon it is called through port 8080. Is it possible to redirect a call to port 8080 to port 443? And not for the entire server, but only for a certain directory?How is this done? Assuming you have configured tomcat correctly to handle SSL its simply a matter of using https:// rather than

redirect port 8080 to 443

2003-10-10 Thread Twan Munster
Hello, I'm using apache+mod_ssl+mod_jk to make a secure connection. But every time I call a page in cocoon it is called through port 8080. Is it possible to redirect a call to port 8080 to port 443? And not for the entire server, but only for a certain directory?How is this done? thnx Twan

Re: redirect port 8080 to 443

2003-10-10 Thread Bill Barker
. Is it possible to redirect a call to port 8080 to port 443? And not for the entire server, but only for a certain directory?How is this done? thnx Twan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Servlet front page without redirect - Tomcat 4.1 with mod_rewrite and mod_jk2

2003-09-08 Thread Mike Curwen
Just to expound on this point: -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, September 06, 2003 10:43 PM To: [EMAIL PROTECTED] Subject: Re: Servlet front page without redirect - Tomcat 4.1 with mod_rewrite and mod_jk2 This can

<    1   2   3   4   5   6   >