backed end cgi to search user and return json: selinux setsebool

See link for details on allowing httpd to make network connections

http://wiki.apache.org/httpd/13PermissionDenied

Command run was

setsebool -P httpd_can_network_connect 1