How to Enable CGI Access for a Client Account in WHM?


CGI (Common Gateway Interface) allows web applications to run server-side scripts — typically Perl scripts (.cgi or .pl files). Some older web applications and form scripts require CGI access to function.

Enable CGI for a Client Account

  1. Login to WHM.
  2. Go to Account Functions → Modify an Account.
  3. Select the client's username from the dropdown.
  4. Click Modify.
  5. Find the CGI Access checkbox.
  6. Check the box to enable CGI access.
  7. Click Save.

CGI is now enabled for that account. The client can run CGI scripts from their cgi-bin directory.

Disable CGI Access

  1. Follow the same steps.
  2. Uncheck the CGI Access checkbox.
  3. Click Save.

Enable CGI by Default in Package Feature List

To enable CGI for all accounts on a specific package by default:

  1. Go to WHM → Packages → Feature Manager.
  2. Edit the relevant feature list.
  3. Ensure CGI Access is checked.
  4. Save the feature list.

Note: Most modern web applications (WordPress, Joomla, etc.) do not require CGI access. Only enable it when a client specifically needs it for a legacy application or custom script.

If you continue to face issues, please open a create a request.

Hjälpte svaret dig? 0 användare blev hjälpta av detta svar (0 Antal röster)