HostBill enterprise: HTTP 403 after reboot

If you’ve experienced HTTP 403 shortly after install and server reboot, it may be a selinux policy that is blocking you. To confirm you may want to temporarily disable selinux by using command in server terminal:

setenforce 0

if it helped, you can permanently solve this by one of following:

  1. Add selinux booleans using commands:

    chcon -R -t httpd_sys_rw_content_t /home/hostbill setsebool -P httpd_read_user_content true setsebool -P httpd_can_network_connect true
  2. Disable selinux permanently

    1. Open the SELinux configuration file: /etc/selinux/config.

    2. Locate the following line:

      SELINUX=enforcing
    3. Change the value to disabled:

    4. Reboot for changes to apply