Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re-writing

Jurian Botha

2007-07-26



We're currently using squid to re-write to a tomcat instance.

For example we've got requests coming in to
'http://sample.host.name.com/tomcat/' which are then rewritten to point to
'http://localhost:8080/'.

The problem is that relative URL's are not taking this rewrite into account.

'/manager/docs/index/html' for example attempts to link to
'http://sample.host.name.com/manager/docs/index.html' instead of
'http://sample.host.name.com/tomcat/manager/docs/index.html'.

I'm totally clueless as to where I can let tomcat know that it has to take
this re-write into account.

Any direction would be appreciated.
--
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.