Welcome! Log In Create A New Profile

Advanced

Help migrating basic apache config to nginx

Posted by qatester 
Help migrating basic apache config to nginx
December 13, 2012 09:50PM
I'm trying to install colplot (http://collectl-utils.sourceforge.net/colplot.html) on a server that is running nginx. The colplot installer provides an Apache configuration setup but I do not know how to convert this to the nginx config.

Here is the apache configuration:

$ cat /colplot-apache.conf
# The following stanza enables colplot
<Directory "/var/www/colplot">
AddHandler cgi-script .cgi
DirectoryIndex index.cgi
AllowOverride None
Options None
Options +followsymlinks +execcgi
Order allow,deny
Allow from all
</Directory>


The index.cgi is a Perl script. Can anyone help me set this up with nginx?

Thanks in advance.
Re: Help migrating basic apache config to nginx
December 14, 2012 02:38AM
nginx itself does not server cgi. Try this one: http://www.howtoforge.com/serving-cgi-scripts-with-nginx-on-debian-squeeze-ubuntu-11.04
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 107
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready