enable a CGI directory for every user in apache.
Configure apache for userdir.
[code language=”bash”]
a2enmod userdir
[/code]
open the userdir.conf file and add the following
[code language=”text”]
<Directory /home/*/public_html/cgi-bin/>
Options ExecCGI
SetHandler cgi-script
</Directory>
[/code]