Re: How to Externally Access PHP Application that has Internal Links to Itself

2015-11-04 Thread Susheel Jalali
Dear Aleks, As you advised, in the file ../Product1/interface/globals.php, we (a) Reviewed Line 137/138. This takes the value from Line 67/68. (b) Conducted two tests. Here are the results. We would appreciate any vector to solve this external access via HAProxy issue. TEST CASE 1: With the

Re: How to Externally Access PHP Application that has Internal Links to Itself

2015-11-02 Thread Aleksandar Lazic
Dear Susheel Jalali Am 02-11-2015 20:24, schrieb Susheel Jalali: Dear Aleks, [snipp] We modified this solution (of Apache) to work with HAProxy, but did not succeed. Is there any insight anyone could provide? What have you changed? Please post your current config. +++ Internal

RE: How to Externally Access PHP Application that has Internal Links to Itself

2015-11-02 Thread Susheel Jalali
Dear Aleks, Apologies we missed answering one of your previous questions. I still assume that you try to run http://open-emr.org We have three products written in PHP and HTML5. All of these are facing similar issues due to relative hyperlinks to itself. One of these is OpenEMR, whose

Re: How to Externally Access PHP Application that has Internal Links to Itself

2015-11-02 Thread Susheel Jalali
Dear Aleks, Thank you for the information. We implemented your insights (i.e., http://blog.haproxy.com/2014/04/28/howto-write-apache-proxypass-rules-in-haproxy/). It only rewrites the URL in the address bar. The PHP application has internal hyperlinks in each page (see frameset, frame class

How to Externally Access PHP Application that has Internal Links to Itself

2015-10-31 Thread Susheel Jalali
Dear HAProxy Developers: We have a PHP application server at product1.local.domain. We are able to access it within company’s internal network via Apache Web server. We would like to access it via public Web server at http://external.dom through the gateway to the application server at

Re: How to Externally Access PHP Application that has Internal Links to Itself

2015-10-31 Thread Aleksandar Lazic
Dear Susheel Jalali. Am 31-10-2015 08:43, schrieb Susheel Jalali: Dear HAProxy Developers: [snipp] This is same as what Apache server’s mod_proxy_html serves to: rewrite http://appserver.example.com/foo/bar.html;>foobar to http://www.example.com/appserver/foo/bar.html;>foobar. Is there an