Re: config 302 redirect ?

2003-11-28 Thread P . van Kemenade
Hi Sorry but I don't understand what you are trying to do, could you be more explicit, then maybe we can help :-) dont bother, it was just a dumb idea. the problem was, I had one tomcat (A) pointing at /usr/local/websites and another one (B) pointing at /usr/local/websites/mmbase mmbase is a prod

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 A >

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 to

Re: config 302 redirect ?

2003-11-27 Thread Luke Vanderfluit
Hi P., There are a number of ways: 1. using the "Refresh" header, 2. using the "Location" header, these you can do using META tags as in http://mydomain.com/gohere"; or using the servlet API as in response.setHeader("Refresh", "3;http://mydomain.com/gohere";); response.setHeader("Location", "ht

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 add

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/