AlbundySzabolcs wrote:
Hi,
I have been trying to solve a problem, but I have not found any good
solution yet.
The problem is:
I have a web app and this web app is deployed to the
$TOMCAT_HOME/webapps/XXX directory.
I can reach that on the http://localhost:8080/XXX address
BUT, I would like to re
> From: AlbundySzabolcs [mailto:albundyalbu...@freemail.hu]
> Subject: RE: Tomcat: two context path for one webapp
>
> Is it possible to hide this redirect anyway?
Configure the rewrite filter to do a forward, not a redirect, and use relative,
not absolute, links in your webap
Hello Chuck,
thanks for you reply.
The UrlRewriteFilter is almost solved my problem. But there is an unexcepted
effect: when I opened the page with the http://localhost:4041/YYY the URL
changed to http://localhost:8080/XXX. Is it possible to hide this redirect
anyway?
Caldarale, Charles R wrot
> From: AlbundySzabolcs [mailto:albundyalbu...@freemail.hu]
> Subject: Tomcat: two context path for one webapp
>
> I have a web app and this web app is deployed to the
> $TOMCAT_HOME/webapps/XXX directory.
> I can reach that on the http://localhost:8080/XXX address
> BUT, I would like to reach the
By any chance, do you have an Apache httpd server in front of this
tomcat instance? The first solution that comes to my mind is using
mod_rewrite with some rewrite rules on the httpd server so that the web
browser client sees http://localhost:8080/YYY but it is really
http://localhost:8080/XXX
DJ