Having trouble redirecting frevvo using mod_proxy

Posted by user38859 on Server Fault See other posts from Server Fault or by user38859
Published on 2010-03-26T09:49:35Z Indexed on 2010/03/26 9:53 UTC
Read the original article Hit count: 908

Filed under:
|
|
|

This question is similar to this:

http://serverfault.com/questions/102868/how-to-access-webservers-running-on-ports-blocked-on-companys-network

Basically, I'm using confluence and a plugin called frevvo. Confluence sits on port 8080 while frevvo sits on port 8082. I want to redirect both of them to port 80 via Apache HTTP web server so that it doesn't get blocked by company proxies.

I've been using the document on Atlassian that shows me how to run confluence behind Apache (I can't post a second URL due to being a newbie here)

I've successfully redirected Confluence from port 8080 to port 80 so I can now access Confluence using www.example.com/confluence.

Now I tried doing the same thing to frevvo with the following configurations:

Apache httpd:

ProxyRequests Off
ProxyPreserveHost On

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

ProxyPass /confluence http://localhost:8080/confluence
ProxyPassReverse /confluence http://localhost:8080/confluence
<Location /confluence>
Order allow,deny
Allow from all
</Location>

ProxyPass /frevvo http://localhost:8082/
ProxyPassReverse /frevvo http://localhost:8082/
<Location /forms>
Order allow,deny
Allow from all
</Location>

And in server.xml for the frevvo Tomcat instance, I added the following within <Host> tag:

<Context path=" " docBase="" debug="0" reloadable="false">
                    <!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->
                <Manager pathname="" />
              </Context>

The plugin, frevvo, when accessed through the browser using http://localhost:8082 usually redirect to http://localhost:8082/frevvo/web

With the above configuration, when accessing www.example.com.au/frevvo redirects to www.example.com/frevvo/web/static/login - which doesn't work.

I hope the above details is clear and appreciate anyone who could give us some insight.

© Server Fault or respective owner

Related posts about mod-proxy

Related posts about apache