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
- Login to WHM.
- Go to Account Functions → Modify an Account.
- Select the client's username from the dropdown.
- Click Modify.
- Find the CGI Access checkbox.
- Check the box to enable CGI access.
- Click Save.
CGI is now enabled for that account. The client can run CGI scripts from their cgi-bin directory.
Disable CGI Access
- Follow the same steps.
- Uncheck the CGI Access checkbox.
- Click Save.
Enable CGI by Default in Package Feature List
To enable CGI for all accounts on a specific package by default:
- Go to WHM → Packages → Feature Manager.
- Edit the relevant feature list.
- Ensure CGI Access is checked.
- 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.
