Comments on Serving CGI Scripts With Nginx On Fedora 18
Serving CGI Scripts With Nginx On Fedora 18 This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Fedora 18. While nginx itself does not serve CGI, there are several ways to work around this. I will outline two solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second solution uses a CGI wrapper to serve CGI scripts.
2 Comment(s)
Comments
I recommend using a non-root user for building RPMs. Check out
http://fedoraproject.org/wiki/How_to_create_an_RPM_package
and perform the steps in the "Preparing your system" section. As the non-root user, you can run the following steps:
Go back to being root for "rpm -ivh thttpd-2.25b-28.fc18.x86_64.rpm" and subsequent steps.
- cd # (or cd to any sub-directory of your home directory)
- yumdownloader --source thttpd
- rpm -ivh thttpd-*src.rpm # to install files in the ~/rpmbuild directory
- cd ~/rpmbuild/SOURCES/
- wget -O thttpd-2.25b-ipreal.patch http://www.danielclemente.com/amarok/ip_real.txt
- cd ../SPECS/
- vi thttpd.spec
- # Add lines to thttpd.spec as directed above
- rpmbuild -ba thttpd.spec
Hi, nice tutorial...
i am interesting to run fcgiwrap for multiple users, how to do that?