nginx, php and perl, oh my!
I'm pretty much a n00b, but I have managed to get a server up and running with nginx/php and other fun services such as postfix/dovecot, etc. I'm using Ubuntu 8.10.
I'm using spawn-fcgi to manage php processes from nginx. And that works fine. However, I'm having a tremendously difficult time figuring out how to get perl scripts running from the web browser. The nginx end of things I can probably figure out; what I don't understand, though, is what process I should be running to receive the requests from nginx to execute perl scripts, and how I should get that process running, and under what permission. The most I've accomplished is compiling and installing fcgiwrap
I realize more details would probably be helpful to get an answer to my question, but I'm not sure what additional details are necessary! Thanks in advance.
- geoff
2 Replies
I'd recommend that you run lighttpd on an internal port (e.g. 127.0.0.1:8080) and handle CGI requests with that.
From what I understand, the performance isn't going to rock, but my goal was just to be able to run a few one-off scripts that my wife and I made to do some odd tasks. Thanks for the suggestions, though.