tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabor Pinter <g-pin...@pearl.kobe-u.ac.jp>
Subject url prefixes behind proxy
Date Thu, 06 Jan 2011 11:02:56 GMT
Dear list,

I have a very trivial problem.

My setup:
CentOS 5.5
nginx 0.8.53
Tomcat6

net ---> nginx:80 (proxy_pass) ---> tomcat:8080

Proxy redirect is triggered by prefix "/tom/"

myhost:80/tom/<url>  --->  127.0.0.1:8080/tom/<url>

Now here is my question.
How can I let Tomcat know about this "/tom/" prefix?

<Host name="localhost/tom" ...  seems to work in a somewhat confusing manner

The Tomcat welcome page ignores prefix /tom/ in links
(hence, no pix + links are wrong ).
However, in apps (e.g. 'manager', 'examples') links are prefixed by 
/tom/ (so pix & links are fine).


What is the authentic way to make the prefix absolutely transparent?

Thanks in advance!

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


Mime
View raw message