How to use a different path name in ProxyPass than the Tomcat context name

Posted by Diptendu Dutta on Stack Overflow See other posts from Stack Overflow or by Diptendu Dutta
Published on 2009-09-08T12:23:27Z Indexed on 2010/06/14 3:02 UTC
Read the original article Hit count: 300

Filed under:
|
|

Hello,

I am using Tomcat 5.5.9 and Apache 2.x

We are trying to use a path name in ProxyPass that is different than the Tomcat context name.

ProxyPass /path http://localhost:8080/contextname

However, this does not work. When these two are the same then everything works fine.

Most examples I see on the net also have the path equal to the Tomcat context name.

I am using "context.xml" within the Tomcat context and do NOT have "server.xml" entries. Also, I am using plain httd.conf and NOT using any VirtualHost entries.

Any help is appreciated.

Regards,

Diptenu

© Stack Overflow or respective owner

Related posts about apache

Related posts about tomcat