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