Lately, I had to quickly set up a small CGI running example. Here's how to do it. 1. Local Web root folder If it does not exist, create a ~/Sites and a ~/Sites/cgi-bin folder. Create a new file /etc/apache2/your-username.conf containing the following: <Directory "/Users/your-username/…