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 Hyperlinks in our PHP page:
+++++++++++
<frameset rows="<?php echo
"$GLOBALS[logoBarHeight],$GLOBALS[titleBarHeight]" ?>,*" cols="*"
frameborder="NO" border="0" framespacing="0">
   <frame class="logobar" src="<?php echo
$rootdir;?>/login/filler.php" name="Filler Top" scrolling="no"
noresize frameborder="NO">
   <frame class="titlebar" src="<?php echo
$rootdir;?>/login/login_title.php" name="Title" scrolling="no"
noresize frameborder="NO">
   <frame src="<?php echo $rootdir;?>/login/login.php" name="Login"
scrolling="auto" frameborder="NO">
</frameset>

please add <?php print_r($rootdir);?> to the PHP page and post the output.

You have not answered if my Assumption was right!

I still assume that you try to run

http://open-emr.org

therefore please take a look into this code.

https://github.com/openemr/openemr/blob/8b9d250de3c76aeb4f706342c2f3c3f1e1b9c6db/interface/globals.php#L137

https://github.com/openemr/openemr/blob/8b9d250de3c76aeb4f706342c2f3c3f1e1b9c6db/interface/globals.php#L38

Best regards
Aleks

On 10/31/15 14:36, Aleksandar Lazic wrote:
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 <a href="http://appserver.example.com/foo/bar.html";>foobar</a>

to <a href="http://www.example.com/appserver/foo/bar.html";>foobar</a>.

Is there an output filter equivalent of Apache server’s mod_proxy_html
in HAProxy to rewrite internal links in:
(i) a PHP page?
(ii) an HTML page?

Assumption:

you use http://open-emr.org

conclusion:

http://www.open-emr.org/wiki/index.php/Apache2_Notes

follow up

http://blog.haproxy.com/2014/04/28/howto-write-apache-proxypass-rules-in-haproxy/ Have I assumed right and was you able to step forward?

BR Aleks



Reply via email to