title: How to configure MAMP to serve perl CGI scripts (NOT localhost!)
body: <p>I'm using MAMP-pro to serve my domain to the outside world.</p>
  
  <p>I'm not a very experienced sys-admin, though I've slogged my way through a few basic things.  I know what apache is, and I can read-most-of but not generate-without-guide related .conf files.</p>
  
  <p>I've got a perl script which I've tested from the command line and it works (outputs as desired.)</p>
  
  <p>When I try to access said script from the browser, I get 404.</p>
  
  <p>I've tried placing the script at:</p>
  
  <ul>
  <li>/Users/me/Sites/mydomain.com/htdocs/mycgi.pl</li>
  <li>/Users/me/Sites/mydomain.com/cgi-bin/mycgi.pl</li>
  <li>/Users/me/Sites/mydomain.com/htdocs/cgi-bin/mycgi.pl</li>
  </ul>
  
  <p>and accessing it as:</p>
  
  <ul>
  <li><a href="http://www.mydomain.com/mycgi.pl" rel="nofollow noreferrer">http://www.mydomain.com/mycgi.pl</a></li>
  <li><a href="http://www.mydomain.com/cgi-bin/mycgi.pl" rel="nofollow noreferrer">http://www.mydomain.com/cgi-bin/mycgi.pl</a></li>
  </ul>
  
  <p>and all the various combinations, all to no avail (404.)</p>
  
  <p>The script and its container directory have permissions 755.</p>
  
  <p>So, what other steps am I missing?  Are there any good set-up guides?  I tried the MAMP-Pro manual, but it is filled with such information as "the cancel button cancels the current operation" and not really anything useful.  Google turned up several hits that all seem to talk about how to make this work on localhost, but I'm trying to serve this to the outside world.</p>
  
  <p>Any hints?</p>
  
  <p>Thanks!</p>