tomcat 5.0.28 redirect issue (error 302)

2005-10-10 Thread Tony Qian
request: Oct 7, 2005 3:56:52 PM org.apache.commons.httpclient.HttpMethodBase processRedirectResponse INFO: Redirect requested but followRedirects is disabled The Status code = 302 Same program worked fine for tomcat 4. Any ideas? Thanks in advance. Tony

Balancer for redirect to other host

2005-10-05 Thread Jury Levykin
Hi, I want use balancer for redirect all requests from mydomain.org to www.mydomain.org. I try following configuration: -- server.xml -- ... Host name=www.mydomain.org appBase=webapps Context path= docBase=el-dimm reloadable=true/ /Host Host name=mydomain.org

Redirect to the secure port within a serlvet

2005-09-22 Thread Antony GUILLOTEAU
I wanted to simulate a CLIENt-CERT realm to the browser with serlvet (response.setHeader(WWW-Authenticate, BASIC realm=\myName\)) but it seems not possible. So I want to basically redirect my request to SSL. I wish know how to redirect a request to the secure port within a serlvet but I don't

Unable to redirect from Windows 2003 server 64 bit and IIS 6.0 to Tomcat 4.1.31 using JK2 ajp1.3

2005-09-15 Thread Theby, Steve
Hi everyone, Problem We believe we have all components installed properly but requests for Tomcat are not redirected. There are no errors in the Tomcat stderr or stdout logs, nor are any errors found in either the Windows application or system event logs. Requests to IIS root work and

Re: Why does tomcat redirect to welcome files

2005-09-07 Thread Mark Thomas
page which returns HTTP 200 code instead of redirect codes. Thanks You'd need to change the source. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Why does tomcat redirect to welcome files

2005-09-06 Thread Jim Kennedy
HTTP 200 code instead of redirect codes. Thanks -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Sunday, September 04, 2005 3:19 PM To: Tomcat Users List Subject: Re: Why does tomcat redirect to welcome files Jim Kennedy wrote: I have setup Tomcat to use index.html

Why does tomcat redirect to welcome files

2005-09-04 Thread Jim Kennedy
I have setup Tomcat to use index.html as the only welcome file. I noticed that the engine redirects to index.html. I'm wondering why that is the case. I would prefer Status: HTTP/1.1 200 OK Not: Status: HTTP/1.1 302 Moved Temporarily As the server response. The are very good reasons for

Re: Why does tomcat redirect to welcome files

2005-09-04 Thread Mark Thomas
The container may send the request to the welcome resource with a forward, a redirect, or a container specific mechanism that is indistinguishable from a direct request. /spec-quote There is also the issue of security constraints. See http://marc.theaimsgroup.com/?l=tomcat-devm=110980317127394w=2

Redirect to 443

2005-08-23 Thread HHidvegi
Is posible to force redirect to 443 when a non-ssl request is received (without having a security-constraint )? Thanks

RE: Redirect to 443

2005-08-23 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Is posible to force redirect to 443 when a non-ssl request is received (without having a security-constraint )? You could, for example, write a filter for your webapp that checked whether the protocol was secure on an icoming request

redirect after login using form-based-auth

2005-08-09 Thread Paulo Neves
Hi, Hi have tomcat 4.1. It is possible to define a fixed url to redirect after login in form-based-auth ? Now they redirect to page where I try to access and need login, but if page needs post values they give-me an error. Thanks, Paulo -- -- Paulo

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

Redirect HTTP to HTTPS

2005-08-01 Thread Faine, Mark
I know I can redirect HTTP to HTTPS by adding: user-data-constraint transport-guarantee CONFIDENTIAL /transport-guarantee /user-data-constraint to my web.xml but the problem is that this does not redirect when someone just goes to a directory path. I would

Re: Redirect HTTP to HTTPS

2005-08-01 Thread Martin Bromley
Just create a filter (mapping it to /* for example so it gets applied to all requests), test for a secure connection with request.isSecure(), and if it isn't, redirect using response.sendRedirect. Martin Faine, Mark wrote: I know I can redirect HTTP to HTTPS by adding: user-data

Re: Issue with redirect..

2005-07-04 Thread Mark Thomas
Create an as simple as possible JSP that demonstrates this problem. It should be simple enough to post the JSP to the list. Mark Kannan Shastri wrote: Hi, I am running a JSF application on Tomcat 5.0.25...the problem is, i need to redirect using response.sendRedirect(url) , and i am

Re: Issue with redirect..

2005-07-03 Thread Kannan Shastri
Hi, I am running a JSF application on Tomcat 5.0.25...the problem is, i need to redirect using response.sendRedirect(url) , and i am getting an exception java.lang.IllegalStateException : Cannot forward after response has been committed. This same code is running fine on Websphere

Fwd: Issue with redirect..

2005-07-01 Thread Kannan Shastri
-- Forwarded message -- From: Kannan Shastri [EMAIL PROTECTED] Date: Jul 1, 2005 3:18 PM Subject: Issue with redirect.. To: Tomcat Users List [EMAIL PROTECTED] Hi, I am running a JSF application on Tomcat 5.0.25...the problem is, i need to redirect using response.sendRedirect

Force HTTP - HTTPS redirect Tomcat 4.1

2005-06-14 Thread Spruell, Darren-Perot
by which we can redirect connections to the cleartext port over to the SSL-enabled port? We had tried simply disabling the Connector on port 80 so that users would have to connect on the SSL port, but Tomcat would not start up after that -- an error about the JVM exiting with status = 1. Microsoft

Redirect by configuration

2005-05-29 Thread Amihai Fuks
the Tomcat (standalone) to be able redirect by configuration! (Writing a Servlet that redirects from /my-OLD-servlet is not what I need I want to delete the /my-OLD-context directory.) Regards, Amihai - To unsubscribe, e-mail: [EMAIL

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-05-12 Thread PAlvin
? What are other solutions for doing this? Pete On Mon, 25 Apr 2005 08:13:19 +0200, Trond G. Ziarkowski wrote: Hi, try removing the [R] from your RewriteRule. If you read up on the mod_rewrite docs, you should see that the [R] flag is causing the redirect. Trond PAlvin wrote: I'm currently

RE: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-05-12 Thread Trung Nguyen
homepage requests to forward to Tomcat without a redirect? Removing the [R] from the RewriteRule breaks everything and no page is served: RewriteRule ^/$ /home.htm **does not work** I'm curious: how does everyone else map the domain request to an actual page??? domain.com

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-05-12 Thread Jason Bainbridge
On 5/12/05, PAlvin [EMAIL PROTECTED] wrote: Removing the [R] from the RewriteRule breaks everything and no page is served: RewriteRule ^/$ /home.htm **does not work** I'm curious: how does everyone else map the domain request to an actual page??? domain.com --to--

RE: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-05-12 Thread PAlvin
:31 PM To: Tomcat Users List Subject: Re: How get www.site.com homepage requests to forward to Tomcat without a redirect? Removing the [R] from the RewriteRule breaks everything and no page is served: RewriteRule ^/$ /home.htm **does not work** I'm curious: how does everyone else map

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-05-12 Thread Lutz Zetzsche
Hi Peter, Am Freitag, 13. Mai 2005 01:02 schrieb PAlvin: Thanks, but it still doesn't work! I removed the RewriteRule from httpd.conf and added the welcome-file-list section to the web.xml file. Now, when I go to my vanilla domain (www.smartmicro.com) I get this message: Forbidden You

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
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 puzzler 8^) I want all my Tomcat requests to go through SSL. I setup tomcat, and got port 80 and port 443 (SSL

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

redirect stdout on tomcat 5.5

2005-04-27 Thread Kanda Upendra
I am using Tomcat 5.5 and when I don't use the tomcat.exe, I can make it write to the stdout log. How can I redirect stdout to a specific file. Suggestions please. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: redirect stdout on tomcat 5.5

2005-04-27 Thread Patrick Thomas
Use a batch file to start tomcat and use the plain old redirect symbol, like so: redirect_tomcat.bat: - tomcat5.exe whateverfileyouwant.log - The other thing you should probably check out is the Logging tab in the tomcat5w.exe app, it seems

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-04-25 Thread Trond G. Ziarkowski
Hi, try removing the [R] from your RewriteRule. If you read up on the mod_rewrite docs, you should see that the [R] flag is causing the redirect. Trond PAlvin wrote: I'm currently using Tomcat 4. When someone goes to my site, say, www.site.com, I'd like it run a servlet for the home page

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-04-25 Thread Anto Paul
On 4/25/05, Trond G. Ziarkowski [EMAIL PROTECTED] wrote: Hi, try removing the [R] from your RewriteRule. If you read up on the mod_rewrite docs, you should see that the [R] flag is causing the redirect. Trond PAlvin wrote: I'm currently using Tomcat 4. When someone goes to my site

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-04-25 Thread Will Hartung
From: PAlvin [EMAIL PROTECTED] Sent: Sunday, April 24, 2005 12:25 PM I could send *all* http requests to tomcat, BUT, obviously, I DON'T want Tomcat serving up images. Why not? Tomcat is fine for static content. How much traffic are you really getting to your site? If you're like a majority

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-04-25 Thread PAlvin
(We get about 1,000 visitors a day to our site.) Just curious: Isn't Tomcat responses inefficient because it has to pass the response back to Apache via a named pipe or TCP or some other connector mechanism? Peter Alvin How much traffic are you really getting to your site? If you're like a

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-04-25 Thread Will Hartung
From: PAlvin [EMAIL PROTECTED] Sent: Monday, April 25, 2005 12:24 PM (We get about 1,000 visitors a day to our site.) Just curious: Isn't Tomcat responses inefficient because it has to pass the response back to Apache via a named pipe or TCP or some other connector mechanism?

How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-04-24 Thread PAlvin
file like this: RewriteEngine on RewriteRule ^/$ /home.htm [R] This works great, EXCEPT, that the browser is sent a redirect and I heard that is bad for search engines. I could send *all* http requests to tomcat, BUT, obviously, I DON'T want Tomcat serving up images. So, is there any way

Redirect to https://

2005-04-14 Thread Darryl Wilburn
Where would I configure a context to automatically redirect to https? So when a user types http://host/application, it would automatically redirect them to https://host/application where a index.jsp may be a login form that I'd like to have the username and password encrypted. I assume it goes

RE: Redirect to https://

2005-04-14 Thread Phillip Qin
Can you do it in apache httpd.conf? RewriteRule ^/host/application(.*) https://host/application [R] -Original Message- From: Darryl Wilburn [mailto:[EMAIL PROTECTED] Sent: April 14, 2005 4:00 PM To: tomcat-user@jakarta.apache.org Subject: Redirect to https:// Where would I configure

RE: Redirect to https://

2005-04-14 Thread Lorenzo Jiménez
Wilburn [mailto:[EMAIL PROTECTED] Sent: Jueves, 14 de Abril de 2005 02:00 p.m. To: tomcat-user@jakarta.apache.org Subject: Redirect to https:// Where would I configure a context to automatically redirect to https? So when a user types http://host/application, it would automatically redirect them

RE: Redirect to https://

2005-04-14 Thread Darryl Wilburn
Not using Apache as a front end. Straight Tomcat 5.5.7 with Coyote HTTP. Darryl __ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs - To unsubscribe,

Re: Redirect from one SSL port to another

2005-03-25 Thread Jason Bainbridge
On Thu, 24 Mar 2005 23:54:21 -0500, Parsons Technical Services [EMAIL PROTECTED] wrote: Jason, To get the port redirect to work requires a constraint on your transport for the requested material. See: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html Thanks, but I've

Redirect from one SSL port to another

2005-03-24 Thread Jason Bainbridge
Currently we are running a pilot of Tomcat (alongside Jrun+IIS) where Tomcat is on port 8443 using https and IIS is on port 443. We are getting close to moving Tomcat into Production use disabling IIS + Jrun and are looking at ways to easily redirect users from 8443 to 443 so the users

Re: Redirect from one SSL port to another

2005-03-24 Thread Parsons Technical Services
This might work: http://www.boutell.com/rinetd/ Ran across it on Google Doug - Original Message - From: Jason Bainbridge [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, March 24, 2005 12:11 PM Subject: Redirect from one SSL port to another

Answer: Tomcat5 port redirect issue

2005-03-24 Thread Dan
.  What I wanted to do was if a particular context was requested from the apache/tomcat domain to redirect to the other domain and to the appropriate ports (ie 8080/8443) the redirect was simple enough, with a rewrite rule in the apache configuration. RewriteRule ^/({specific context})(.*) http

Re: Redirect from one SSL port to another

2005-03-24 Thread Parsons Technical Services
Jason, To get the port redirect to work requires a constraint on your transport for the requested material. See: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html Doug - Original Message - From: Parsons Technical Services [EMAIL PROTECTED] To: Tomcat Users List tomcat

How to redirect to a different host

2005-03-17 Thread Dan
Is there anyway to configure Tomcat (without using apache) to redirect requests for a particular context to a new url (and host) Here's the scenario on the main page there is a link to a shopping cart context. This webapp does not run on this machine, it's running on a totally separate system

RE: How to redirect to a different host

2005-03-17 Thread Ramu, Vinod
- From: Dan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 2:58 PM To: Tomcat Users List Subject: How to redirect to a different host Is there anyway to configure Tomcat (without using apache) to redirect requests for a particular context to a new url (and host) Here's the scenario

Re: RE: How to redirect to a different host Balancer Rules

2005-03-17 Thread Dan
Thanks for the Idea Vinod, unfortunately I don't have control of the jsp content, so that rather elegant solution won't work. However I'm definitely tucking that away in my mental rolodex. Thanks for the tip!!! Does anyone else know if there's a way to redirect to a different host I

RE: How to redirect to a different host

2005-03-17 Thread Gilbert, Luke T
you'll have to check back later. Luke P.S. In the interest of full, squeaky clean disclosure, I've submitted a patch to the project. -Original Message- From: Dan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 14:58 To: Tomcat Users List Subject: How to redirect to a different

Re: Redirect from http:// to https://

2005-03-09 Thread Peter Johnson
Or write a valve/filter to do the same thing PJ Antony Paul wrote: You use Tomcat standalone or along with Apache. In Tomcat stand alone you can 1, In index.jsp or whatever be the welcome page check response.isSecure() then redirect. 2. There is an option in web.xml in security element transport

Re: Redirect from http:// to https://

2005-03-09 Thread Sanjeev Srivastava
check response.isSecure() then redirect. 2. There is an option in web.xml in security element transport-guarantee which can be specified for certain resources. On accessing these resources it will automatically redirect to the https. You need to properly configure redirectport

Re: Redirect from http:// to https://

2005-03-09 Thread Sanjeev Srivastava
Thanks a lot Paul !!, It worked Regards, Sanjeev --- Antony Paul [EMAIL PROTECTED] wrote: You use Tomcat standalone or along with Apache. In Tomcat stand alone you can 1, In index.jsp or whatever be the welcome page check response.isSecure() then redirect. 2. There is an option

Redirect from http:// to https://

2005-03-08 Thread Sanjeev Srivastava
Hi All!, Can anone tell me how can I redirect http:// to https:// . I want as soon as the user type http://abc.com it will go to https://abc.com (SSL Config). Please help.. Regards, Sanjeev Send instant messages to your online friends http://uk.messenger.yahoo.com

Re: Redirect from http:// to https://

2005-03-08 Thread Antony Paul
You use Tomcat standalone or along with Apache. In Tomcat stand alone you can 1, In index.jsp or whatever be the welcome page check response.isSecure() then redirect. 2. There is an option in web.xml in security element transport-guarantee which can be specified for certain resources

Tomcat 4.1 and auto-redirect/URL rewrite

2005-03-07 Thread David Wall
in TC? I'd like to map something like: https://www.myhost.com/app/pickup?c=12345678901234567890 to https://www.myhost.com/app/custom/customerName/applicationName/welcome.jsp?c=12345678901234567890 I know I could create a servlet that does an auto-redirect, but I'm looking to see if TC has

RE: Tomcat 4.1 and auto-redirect/URL rewrite

2005-03-07 Thread Subir Sengupta
You could write a filter to do this. So if the filter see's the shorter url it can redirect/forward to the longer url. Subir -Original Message- From: David Wall [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 11:26 AM To: Tomcat Users List Subject: Tomcat 4.1 and auto-redirect

Re: Redirect with slash appended

2005-02-16 Thread Mark Thomas
This is by design. See http://issues.apache.org/bugzilla/show_bug.cgi?id=32424 for an explanation. Mark Felix Röthenbacher wrote: Hi I have the problem that every time I access a servlet with a URL that is equal to a servlet's directory, Tomcat redirects me to an URL with a slash appended. E.g.

RE: Redirect with slash appended

2005-02-16 Thread Stephen Kestle
Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, 17 February 2005 7:38 a.m. To: Tomcat Users List Subject: Re: Redirect with slash appended This is by design. See http://issues.apache.org/bugzilla/show_bug.cgi?id=32424 for an explanation. Mark Felix Röthenbacher

Redirect with slash appended

2005-02-15 Thread Felix Röthenbacher
Hi I have the problem that every time I access a servlet with a URL that is equal to a servlet's directory, Tomcat redirects me to an URL with a slash appended. E.g. I want to access /resources, and Tomcat redirects me to /resources/, which my servlet does not match. It expects to match to

Disable directory redirect?

2005-02-07 Thread Oliver Hutchison
In Tomcat 5.5.7 is there a way to disable the automatic redirect that happens when a request matches a directory except for the trailing slash? e.g. On my server the request /boards get redirected to /boards/ as there is a boards directory on the server. The strange thing is the redirect seem

Re: Disable directory redirect?

2005-02-07 Thread Garthfield Carter
the automatic redirect that happens when a request matches a directory except for the trailing slash? e.g. On my server the request /boards get redirected to /boards/ as there is a boards directory on the server. The strange thing is the redirect seem to happen before any filters or servlet

RE: Disable directory redirect?

2005-02-07 Thread Oliver Hutchison
] Sent: Tuesday, 8 February 2005 1:59 PM To: Tomcat Users List Subject: Re: Disable directory redirect? In Apache you fix this problem by altering the: UseCanonicalName in httpd.conf, I forget whether it should be on or off. If you're using an Apache front-end to Tomcat then you can stop

Page Redirect

2005-02-02 Thread Christopher Brizzell
I am running Tomcat 4.1 on a Windows 2003 server box, along with Apache and JRE 1.4.1_06. I have very little programming knowledge. What I would like to do, is redirect any requests to http://thisserver:9091/thiswebpage to go to http://thisserver:8080/someotherwebpage. Is this possible

catalina log - redirect

2005-01-06 Thread Benoit - Althosting.fr
Hi, I'm trying to redirect catalina logs to another file (montest_access_log.txt) but catalina out is not redirect in my file (steal in catalina.out) That's my configuration in server.xml for the host : Host name=mywebsite.com debug=0 appBase=/usr/local/jakarta-tomcat4.1/webapps/montest unpackWARs

RE: SSL Redirect problem

2004-11-22 Thread Richard HALLIER
] Envoye : dimanche 21 novembre 2004 17:28 A : 'Tomcat Users List' Objet : RE: SSL Redirect problem Sounds like an IE bug. I suspect IE is sending the wrong port information at some point in the redirect from http to https. To confirm this you'll need to look at the http headers going back and forth

SSL Redirect problem

2004-11-21 Thread Richard HALLIER
Hi, I'd like to submit a weird problem that occurs with the following configuration : - Server Tomcat 5.0.28 - https connector activated with client authentification - Browser IE v6 sp2 with client certificate installed - Browser FireFox 1.0final with client certificate installed Sequence under

RE: SSL Redirect problem

2004-11-21 Thread Mark Thomas
Sounds like an IE bug. I suspect IE is sending the wrong port information at some point in the redirect from http to https. To confirm this you'll need to look at the http headers going back and forth. One quick test would be to configure tomcat for the default ports (80 for http and 443

redirect catalina.out

2004-11-18 Thread Scott Pippin
I am trying to redirect catalina.out to an application specific log file. I thought I had it set up but it is still writing to catalina.out. server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0

RE: redirect catalina.out

2004-11-18 Thread Shapira, Yoav
: redirect catalina.out I am trying to redirect catalina.out to an application specific log file. I thought I had it set up but it is still writing to catalina.out. server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener

Re: redirect catalina.out

2004-11-18 Thread Shankar Unni
Shapira, Yoav wrote: swallowOutput is not a Context attribute, it's a Logger attribute: change your context.xml to fix that. Really? That's not what the doc says (or the source either). Just tested on 5.0.2x. (At least, I defined a DefaultContext swallowOutput=true/ in my Host, and standard

RE: redirect catalina.out

2004-11-18 Thread Shapira, Yoav
, November 18, 2004 3:23 PM To: [EMAIL PROTECTED] Subject: Re: redirect catalina.out Shapira, Yoav wrote: swallowOutput is not a Context attribute, it's a Logger attribute: change your context.xml to fix that. Really? That's not what the doc says (or the source either). Just tested on 5.0.2x

301 Redirect Question

2004-11-17 Thread Lyndon Smith
Hi Allistair I have a question for the Tomcat User Group. I hope you don't mind me asking you because the answer should be a simple yes or no but I can't get an answer anywhere. I am new to the mailing list and I don't know how to submit a question to it. The Question: Is it possible with

Re: 301 Redirect Question

2004-11-17 Thread Tim Funk
You need to code them yourself in your servlet/jsp. response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY); response.addHeader(Location, /more/cowbell.jsp); -Tim Lyndon Smith wrote: Hi Allistair I have a question for the Tomcat User Group. I hope you don't mind me asking you because the

RE: Tomcat - 4.1 - SSL redirect only works on ports 80 and 443

2004-11-11 Thread khanaz
Dave- Please post the non-ssl and ssl connector fields from your server.xml file Azam Khan -Original Message- From: David Austin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 9:53 AM To: [EMAIL PROTECTED] Subject: Tomcat - 4.1 - SSL redirect only works on ports 80 and 443

RE: Tomcat - 4.1 - SSL redirect only works on ports 8

2004-11-11 Thread David Austin
Ok, here are my connector tags: !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443

Tomcat - 4.1 - SSL redirect only works on ports 80 and 443

2004-11-10 Thread David Austin
Good Morning, This is my first post to this site, so please go easy on me... I am running a tomcat 4.1 standalone server and I am trying to implement an SSL connector. I followed the instructions and was able to successfully get it to work with one problem: For some reason the redirect

Re: webapp exceptions redirect them to webapps log

2004-11-01 Thread Shahin Hadjikuliev
Hi, To write a information to the log file , you have to add a line in your code, I didn't know how to configure it over server.xml On Fri, 29 Oct 2004 17:14:46 -0700, Mufaddal Khumri [EMAIL PROTECTED] wrote: Hi, I am using Tomcat 5.0.27. I am using a FileLogger as the appender (log4j) to

Re: webapp exceptions redirect them to webapps log

2004-11-01 Thread Shahin Hadjikuliev
Sorry I didn't know how to configure it over server.xml I don't knwo :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: webapp exceptions redirect them to webapps log

2004-11-01 Thread Shapira, Yoav
Hi, How do I configure tomcat to send output resulting from exceptions in my webapp to this log file? Do I have to configure server.xml to do so? It's not a Tomcat configuration matter. In your application, try { ... } catch (Exception e) { logger.error(Oops, e); } In fact, one of the

webapp exceptions redirect them to webapps log

2004-10-29 Thread Mufaddal Khumri
Hi, I am using Tomcat 5.0.27. I am using a FileLogger as the appender (log4j) to write my logs to under WEB-INF/log. How do I configure tomcat to send output resulting from exceptions in my webapp to this log file? Do I have to configure server.xml to do so? Mufaddal Khumri

Re: AW: How to redirect http to https automatically?

2004-10-18 Thread raiden
Hello, I believe all but your third example is correct. I am pretty sure that a cookie set for www.domaina.com will be sent to that same domain if it's in http or https. However, if the cookie is marked as secure, it will only be sent under https. This is what has caused the problem. I still

AW: How to redirect http to https automatically?

2004-10-16 Thread Steffen Heil
Hi Actually, I'm a big advocate against staying in HTTPS, because of the overhead. However, this is a problem with Tomcat, because in the 4.x and 5.x lines it was decided by someone that if a session started in HTTPS it is only valid in HTTPS (basically, the session cookie is turned into a

Re: How to redirect http to https automatically?

2004-10-15 Thread David Wall
I don't know the answer to that. It's unlikely, though. You could put something like Apache in the front and use URL rewriting, which can basically force any URL with a given pattern to be redirected, either forcing HTTP or HTTPS and doing the redirect only when the scheme is not what you want

Re: How to redirect http to https automatically?

2004-10-15 Thread raiden
to be redirected, either forcing HTTP or HTTPS and doing the redirect only when the scheme is not what you want. In general, though, when you know you are shifting between secure and insecure, you should perhaps create URLs that make this explicit. In general, you enter a secure mode when

Re: How to redirect http to https automatically?

2004-10-14 Thread David Wall
, then the redirect stuff specifed in your server.xml will be applied. David - Original Message - From: Won Sim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 8:13 AM Subject: How to redirect http to https automatically? I set redirectPort attribute to 443

Re: How to redirect http to https automatically?

2004-10-14 Thread Antony Paul
-resource-collection user-data-constraint transport-guaranteeCONFIDENTIAL/transport-guarantee /user-data-constraint /security-constraint The confidential keyword ensures that the webapp will require https, so if you try to get it via http, then the redirect stuff specifed in your

Server side redirect

2004-09-08 Thread Sreejith
Hi all, It is possible to do a server side redirect to another Tomcat Server (any other web server)? I dont want to use status codes 3xx, as this involves the user agent in redirection. Sreejith

Re: Server side redirect

2004-09-08 Thread Tim Funk
Tomcat 5 has a balancer webapp. -Tim Sreejith wrote: Hi all, It is possible to do a server side redirect to another Tomcat Server (any other web server)? I dont want to use status codes 3xx, as this involves the user agent in redirection. Sreejith

Re: Server side redirect

2004-09-08 Thread Sjoerd van Leent
Sreejith wrote: Hi all, It is possible to do a server side redirect to another Tomcat Server (any other web server)? I dont want to use status codes 3xx, as this involves the user agent in redirection. Sreejith What you are asking is to locate a resource on another server. If you want to do

RE: Server side redirect

2004-09-08 Thread Sreejith
Despatcher) to the appropriate web apps. In certain scenarios, it may be required to redirect to a third party (remotely hosted) web application. Can you tellme, what is the best approach to implement this with out using 3xx response codes? Thanks Sreejith -Original Message- From: Sjoerd van

Re: Server side redirect

2004-09-08 Thread Sjoerd van Leent
server and let that server decide what to do (this is what's called a proxy). The only thing the first server is doing is being sheepish. Using this technique as I explained below, you can redirect cross-server, or if you want, cross-application without the need for the browser to know what's

redirect to insecure

2004-08-27 Thread Michael Eastwood
part, the https:// remains (as I'm using relative URLs). Is it possible to configure these non secure sections to redirect to no encryption (so that a request to https://.../nonsecureservlet/ is redirected to http://.../nonsecureservlet/) without doing a protocol check all of my servlets or making

Re: redirect to insecure

2004-08-27 Thread Tim Funk
communication with the sensitive parts of site. The other parts of the site I'd like not to be encrypted. If I go to the secure part, however, then back to a non-secure part, the https:// remains (as I'm using relative URLs). Is it possible to configure these non secure sections to redirect

How to redirect URL in Tomcat 4 server,xml?

2004-08-19 Thread Jürgen Schwarz
Hi, I want to redirect requests to another URL (different server) using the server.xml configuration file. Something like the Redirect directive in Apache Server except that I have only Apache Tomcat and not Apache Server. Is this possible to do in the server.xml file? Bye, Juergen GEFASOFT

Re: How to redirect URL in Tomcat 4 server,xml?

2004-08-19 Thread Tim Funk
Nope. Not in server.xml -Tim Jürgen Schwarz wrote: Hi, I want to redirect requests to another URL (different server) using the server.xml configuration file. Something like the Redirect directive in Apache Server except that I have only Apache Tomcat and not Apache Server. Is this possible

RE: redirect output in win 2000 from comandline

2004-07-27 Thread Alberto Marino
yes, but comand line open other cmd with Tomcat and I don´t know how redirect this cmd because startup initialize automaticaly. Jérôme_Duval [EMAIL PROTECTED] wrote:To redirect to a file put filename.extension System.err will still be in your prompt window though. The only way you can redirect

redirect output in win 2000 from comandline

2004-07-26 Thread Alberto Marino
I start Tomcat since comandline but how can I redirect this output from a file in a comandline in win 2000? Ruth, Brice [EMAIL PROTECTED] wrote:How are you starting Tomcat? If you're starting tomcat from the cmdline, then it will send STDOUT STDERR to the console. If you're starting

  1   2   3   4   5   6   >