Chinaunix首页 | 论坛 | 博客
  • 博客访问: 212971
  • 博文数量: 70
  • 博客积分: 2050
  • 博客等级: 大尉
  • 技术积分: 700
  • 用 户 组: 普通用户
  • 注册时间: 2006-07-15 21:42
文章分类

全部博文(70)

文章存档

2013年(1)

2011年(5)

2010年(3)

2009年(9)

2008年(17)

2007年(6)

2006年(29)

我的朋友

分类: 系统运维

2010-10-29 10:43:52

server.event-handler = "linux-sysepoll"
server.modules = ("mod_access", "mod_accesslog", "mod_alias", "mod_fastcgi", "mod_rewrite")
fastcgi.server = ("/python" =>
    ((
        "socket" => "/tmp/fastcgi.socket",
        "bin-path" => "/var/www/index.py",
        "max-procs" => 1,
        "bin-environment" => (
            "REAL_SCRIPT_NAME" => ""
        ),
        "check-local" => "disable"
     ))
)
url.rewrite-once = ( "^/([^\.]+)$" => "/python/$1" )
static-file.exclude-extensions = ( ".py", ".php", ".pl", ".fcgi", )
阅读(620) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-10-29 20:22:21

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com