Skip to content
Advertisement

Tag: fastcgi

Need help on Nginx CGI Configuration

I need to set the nginx configurations such that the URL “http://host/cgi-bin/hw.sh/some/path/to/data/” should trigger the shell script “hw.sh” present under path “/usr/lib/cgi-bin/”. Now, according to the instructions mentioned in page https://www.howtoforge.com/serving-cgi-scripts-with-nginx-on-debian-squeeze-ubuntu-11.04-p3, we need to set the configurations under a “.vhost” file. But I have a default file already present under path “/etc/nginx/sites-available/default” instead of a .vhost file. And when I

Advertisement