Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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?

share|improve this question
3  
Since CGI isn't supported on nginx - perhaps you just need to select one of these implementations? wiki.nginx.org/SimpleCGI also watch for wiki.nginx.org/Pitfalls –  bmike Jun 11 '12 at 19:02
add comment

1 Answer

Try finding it by typing this in the terminal:

 sudo find / -name cgi-bin | grep nginx
share|improve this answer
    
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. –  Travis Pessetto Jun 11 '12 at 22:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.