I am trying to locate cgi-bin folder for Nginx, which I installed on Mac OSX on my iMac. I am not sure where is it located? I saw another post but it was about the Lion Server. Can somebody tell me where is it on Mac OSX?


Try finding it by typing this in the terminal:

 sudo find / -name cgi-bin | grep nginx
  • This was the reply I got with adding sudo in front of your command, find: /dev/fd/3: Not a directory find: /dev/fd/4: Not a directory, the reason I added sudo is because the output I got with your command, I have updated it above.
    – Sam007
    Jun 11 '12 at 21:46
  • @Sam007 according to webcache.googleusercontent.com/… it appears that those errors are normal. If you didn't see anything else besides them, there is no cgi-bin directory on the system with nginx in its path. You can try sudo find / -name cgi-bin to see if one exists anywhere. Jun 11 '12 at 22:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .