HAProxy community

Error while setup hapee1.6r2-rest-api in ubantu


I have an issue installing HAProxy rest-api in ubantu-14.04. I followed the instructions exactly as documented at http://www.haproxy.com/doc/hapee/1.6r2/api/webbased.html#installation but at the stage where I test the API using

wget -O -

I get the following error:

root@ubuntu:/var/log/apache2# wget -O -
–2017-08-11 19:11:20--
Connecting to… connected.
HTTP request sent, awaiting response… 500 Internal Server Error
2017-08-11 19:11:20 ERROR 500: Internal Server Error.

Also note that in 000-default.conf I configured the module this way because the URL mentioned in /usr/share/doc/hapee-1.6r2-rest-api/examples/apache2.conf gave an Error 400

ProxyPassMatch ^/(api(/.*)?)$ unix:///var/run/hapee-1.6/hapee-rest-api.sock|fcgi://localhost/

Please do contact if any more information is required.



For HAProxy Enterprise Edition, please reach out to HAProxy Technologies support directly: support@haproxy.com.