平时为了方便系统管理,用的bash shell写了简单的cgi脚本.发现nginx无法运行,apache就可以运行...如何让nginx支持用bash shell写的cgi脚本呢????
基于nginx的nagios-3.1.2简要配置。此文主要关注于nginx的perl-cgi和php-cgi的安装及设置。 本文基于 http://www.lazysa.com/2009/05/392.html ,http://www.thismail.org/bbs/thread-3002-1-1.html 改进。 我的主机环境 操作系统:debian 5.0 web服务器:nginx 6.32 cgi-perl环境:nginx-fcgi cgi-php环境:Fastcgi nagios版本:nagios 3.1.2 nagios 的安装在这里就不谈了,你可以看看这个: http://nagios-cn.sourceforge.net/n...
求nginx+python 环境的搭建哦,难道python必须要cgi支持才行么? ------------------------------------------------------------------------------------------------------------ lighttpd.conf 问题半解决了,原来这个文件可以玩玩的,可以开其cgi md python md模块 还在测试,大家一起玩哈~ #### cgi module cgi.assign = ( ".pl" => "/usr/bin/perl", ".py" => "??????...
放在server外面 ssi on; ssi_silent_errors on; ssi_types text/shtml; 放在server里面 location / { ssi on; ssi_silent_errors on; ssi_types text/shtml; } 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/1676/showart_2108533.html