proxy pass for activeMQ

Posted by user1172482 on Server Fault See other posts from Server Fault or by user1172482
Published on 2012-10-16T20:57:18Z Indexed on 2012/10/18 5:08 UTC
Read the original article Hit count: 583

Filed under:
|

I have a apache server that I'm trying to use for proxy access my activeMQ admin page. I am able to load the inital landing page properly, but I can't seem to load any of the sub-pages (Queues, Connections, etc.). My proxypass rules on the apache server are the following:

ProxyPass /foo http://10.5.124.108:8161/admin
ProxyPassReverse /foo http://10.5.124.108:8161/admin

The activeMQ installation included a activemq-httpd.conf file in /etc/httpd/conf.d/. Proxy connections there are enabled:

ProxyRequests On
ProxyVia On

<Proxy *>
Allow from all
Order allow,deny
</Proxy>

ProxyPass /admin http://localhost:8161/admin
ProxyPassReverse /admin http://localhost:8161/admin
ProxyPass /message http://localhost:8161/admin/send
ProxyPassReverse /message http://localhost:8161/admin/send

From what I've read the proxypass rules should be recursive (the rule for /foo should also work for /foo/bar). Is there something else that I'm missing here that's preventing me from accessing pages beyond the initial admin landing page?

© Server Fault or respective owner

Related posts about apache2

Related posts about activemq