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
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
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
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
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]
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
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
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
Is posible to force redirect to 443 when a non-ssl request is received
(without having a security-constraint )?
Thanks
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
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
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
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
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
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
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
-- 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
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
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
? 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
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
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--
: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
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
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
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
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
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
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
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
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
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
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
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
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
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
(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
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?
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
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
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
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
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,
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
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
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
. 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
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
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
-
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
]
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
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
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
]
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
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
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
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
: 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
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
, 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
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
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
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
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
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
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
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]
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
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
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
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
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
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
, 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
-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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 551 matches
Mail list logo