Re: url prefixes behind proxy

2011-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabor, On 1/6/2011 11:54 PM, Gabor Pinter wrote: > Dear Christopher, > > Thank you for your reply. > >>> Tomcat is version 6.0 >> >> 6.0.what? We're just dying to know. > > Sorry, it's 6.0.29 . > (Though at my level, the third digit may be of minor

Re: url prefixes behind proxy

2011-01-06 Thread Gabor Pinter
Dear Christopher, Thank you for your reply. >> Tomcat is version 6.0 > > 6.0.what? We're just dying to know. Sorry, it's 6.0.29 . (Though at my level, the third digit may be of minor importance :) > http://localhost:8080/tom ->path/to/tomcat/webapps/tom >> http://localhost:80/tom/

Re: url prefixes behind proxy

2011-01-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabor, On 1/6/2011 2:38 PM, gabor wrote: > Tomcat is version 6.0, but it is highly experimental under my hands ;-) 6.0.what? We're just dying to know. >> You have configured* the proxy to expect Tomcat to have either tom.war >> or a directory deploy

Re: url prefixes behind proxy

2011-01-06 Thread Gabor Pinter
Andre, Thank you for your detailed description! It cleared up a lot. Just let me ask one more question. A simple proxy_pass results in the following mapping (correct?) http://hostname:8080/tom/app | proxy_pass to | 127.0.0.1:8080/tom/app | (tomcat_dir)/webapps/tom/app Is there a wa

Re: url prefixes behind proxy

2011-01-06 Thread gabor
On 1/6/2011 8:14 PM, Pid wrote: On 1/6/11 11:02 AM, Gabor Pinter wrote: Dear list, I have a very trivial problem. My setup: CentOS 5.5 nginx 0.8.53 Tomcat6 You're using the unreleased, but highly experimental and potentially dangerous version 6.3.7!? ;) First, thank you for your reply. Tom

Re: url prefixes behind proxy

2011-01-06 Thread André Warnier
Gabor Pinter wrote: 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/ ---> 127.0.0.1:8080/tom/ Now here is my question. How can I let Tomcat know

Re: url prefixes behind proxy

2011-01-06 Thread Pid
On 1/6/11 11:02 AM, Gabor Pinter wrote: > Dear list, > > I have a very trivial problem. > > My setup: > CentOS 5.5 > nginx 0.8.53 > Tomcat6 You're using the unreleased, but highly experimental and potentially dangerous version 6.3.7!? ;) > net ---> nginx:80 (proxy_pass) ---> tomcat:8080 > >

url prefixes behind proxy

2011-01-06 Thread Gabor Pinter
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/ ---> 127.0.0.1:8080/tom/ Now here is my question. How can I let Tomcat know about this "/tom/" pr