You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jurian Botha <ju...@oco.co.za> on 2007/07/26 17:57:41 UTC

Re-writing

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.
-- 
View this message in context: http://www.nabble.com/Re-writing-tf4152537.html#a11813492
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org