Using SugarCRM JB with a reverse Proxy

Hi All,

We're looking to implement a SugarCRM JB internally, but have it presented to the web through our existing infrastructure using reverse proxy.

If our normal web page is http://www.acme.co
Then the users would access the CRM using http://www.acme.co/crm

Unfortunately, the use of absolute URL's is a pain, but luckily, still workable.
(it would be great if they were relative for the actual implementation)

The JB is configured to run internally on 192.168.56.103 and I've configured our apache server Apache with the following entries:


ProxyPass /crm http://192.168.56.103
ProxyPassReverse /crm http://192.168.56.103

ProxyPass /sugarcrm http://192.168.56.103
ProxyPassReverse /sugarcrm http://192.168.56.103

ProxyPass /jbheader.php http://192.168.56.103
ProxyPassReverse /jbheader.php http://192.168.56.103

But, when you surf the external site, all you get is a blank page.

Is this possible to do with a JB package?

Thanks,

Anthony

Hi Anthony, You are right,

Hi Anthony,
You are right, if we made those relative URLs this would be much less painful. We will probably be able to include this in future releases. Also, if you register and remove the Navigation bar I think you can get away with just

        ProxyRequests Off
        ProxyPass /crm http://jumpbox/sugarcrm
        ProxyPassReverse /crm http://jumpbox/sugarcrm

        ProxyPass /sugarcrm http://jumpbox/sugarcrm
        ProxyPassReverse /sugarcrm http://jumpbox/sugarcrm

I have also had a little success with mod_rewrite along the lines of this post: http://www.jumpbox.com/node/209

Ultimately the solution is for us to fix the links.

Thanks for your feedback. If you have any further questions just let me know.