FreePBX behind a reverse proxy

Hello,

I am trying to run FreePBX behind a proxy server.

The proxy works just fine until it comes to click on the “Submit” button under “Extensions”. Same thing happens with “logout” link.

On the proxy server, I see the following in the logs:

[Thu Sep 06 11:05:09 2012] [error] [client 192.168.100.102] script ‘/var/www/html/admin/config.php’ not found or unable to stat, referer: http://192.168.200.253/vcc-demo-002/admin/config.php?type=setup&display=extensions

It tries to search for “admin/config.php” on the proxy server and not machine that runs the FreePBX.

Any help please?

Sounds like a reverse proxy server issue and not FreePBX.

I have gotten the ARI portion of FreePBX to work through a reverse http proxy I forgot if I did it with an Apache module or squid. The key is to make sure the reverse proxy does not cache any content except the images.

Hello SkykingOH,

Thank you for replying.

I am trying through apache. Pages are displayed well. The only thing that is not working is the “submit” button under “Extensions”.

I did not setup any ARI for this. I will try though to set it up.

P.S.: “Submit changes” button under “General Settings” works just fine.

Thanks,
Nicola.